From: Rusty Russell Date: Thu, 12 Aug 2010 05:04:40 +0000 (-0600) Subject: param: don't deref arg in __same_type() checks X-Git-Tag: v2.6.36-rc1~57^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6de51b2787012ba3ab62c7d50df1b749b83d5f0;p=pandora-kernel.git param: don't deref arg in __same_type() checks gcc allows this when arg is a function, but sparse complains: drivers/char/ipmi/ipmi_watchdog.c:303:1: error: cannot dereference this type drivers/char/ipmi/ipmi_watchdog.c:307:1: error: cannot dereference this type drivers/char/ipmi/ipmi_watchdog.c:311:1: error: cannot dereference this type Reported-by: Randy Dunlap Tested-by: Randy Dunlap Signed-off-by: Rusty Russell --- Reading git-diff-tree failed