diff options
author | Harvey Harrison <[email protected]> | 2008-07-23 19:56:02 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2008-07-23 19:56:02 +0200 |
commit | 1a677aba5e0e45cc5b2a04c059edfcf06c1ea9bb (patch) | |
tree | e2f857f28602bbb1f81850946a2aca06fd84a226 /net/unix/sysctl_net_unix.c | |
parent | 141d3b27fc4b4f97ca6d9b5c1cc8aeeab967dcfc (diff) |
ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings
The function ide_cd_queue_pc should be checked as the bufflen arg is
dereferenced and lots of callers are passing in NULL.
drivers/ide/ide-cd_ioctl.c:124:46: warning: Using plain integer as NULL pointer
drivers/ide/ide-cd_ioctl.c:149:47: warning: Using plain integer as NULL pointer
drivers/ide/ide-cd_ioctl.c:231:46: warning: Using plain integer as NULL pointer
drivers/ide/ide-cd_ioctl.c:374:46: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <[email protected]>
Cc: Andrew Morton <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions