diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 23:04:40 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 23:04:41 +0930 |
commit | a6de51b2787012ba3ab62c7d50df1b749b83d5f0 (patch) | |
tree | e3053c23297b57bb85b5abcabfd49635511ec140 /security | |
parent | 4ef2db016aab27af05a95aeab1c30ad3f2fed7b9 (diff) |
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 'security')
0 files changed, 0 insertions, 0 deletions