diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-12 09:04:40 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 17:34:41 +0400 |
commit | a6de51b2787012ba3ab62c7d50df1b749b83d5f0 (patch) | |
tree | e3053c23297b57bb85b5abcabfd49635511ec140 /scripts | |
parent | 4ef2db016aab27af05a95aeab1c30ad3f2fed7b9 (diff) | |
download | linux-a6de51b2787012ba3ab62c7d50df1b749b83d5f0.tar.xz |
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 <randy.dunlap@oracle.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions