diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-23 19:56:02 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 19:56:02 +0200 |
commit | 1a677aba5e0e45cc5b2a04c059edfcf06c1ea9bb (patch) | |
tree | e2f857f28602bbb1f81850946a2aca06fd84a226 /drivers/ide/ide.c | |
parent | 141d3b27fc4b4f97ca6d9b5c1cc8aeeab967dcfc (diff) | |
download | linux-1a677aba5e0e45cc5b2a04c059edfcf06c1ea9bb.tar.gz linux-1a677aba5e0e45cc5b2a04c059edfcf06c1ea9bb.tar.bz2 linux-1a677aba5e0e45cc5b2a04c059edfcf06c1ea9bb.zip |
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 <harvey.harrison@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
0 files changed, 0 insertions, 0 deletions