summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy_proc.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-05 16:10:56 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-05 16:10:56 +0100
commit71bfc7a7c73eaf1f99e309dba60822ba050e3ec5 (patch)
tree6eaf8bc81002fa8f699a5a6e2c790022b19a7742 /drivers/ide/ide-floppy_proc.c
parentide: expiry() returns int, negative expiry() return values won't be noticed (diff)
downloadlinux-71bfc7a7c73eaf1f99e309dba60822ba050e3ec5.tar.xz
linux-71bfc7a7c73eaf1f99e309dba60822ba050e3ec5.zip
ide: NULL noise: drivers/ide/ide-*.c
Fix this sparse warnings: drivers/ide/ide-disk_proc.c:130:11: warning: Using plain integer as NULL pointer drivers/ide/ide-floppy_proc.c:32:11: warning: Using plain integer as NULL pointer drivers/ide/ide-proc.c:234:11: warning: Using plain integer as NULL pointer drivers/ide/ide-tape.c:2141:11: warning: Using plain integer as NULL pointer Signed-off-by: Hannes Eder <hannes@hanneseder.net> Cc: trivial@kernel.org Cc: kernel-janitors@vger.kernel.org Cc: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-floppy_proc.c')
-rw-r--r--drivers/ide/ide-floppy_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy_proc.c b/drivers/ide/ide-floppy_proc.c
index 3ec762cb60ab..fcd4d8153df5 100644
--- a/drivers/ide/ide-floppy_proc.c
+++ b/drivers/ide/ide-floppy_proc.c
@@ -29,5 +29,5 @@ const struct ide_proc_devset ide_floppy_settings[] = {
IDE_PROC_DEVSET(bios_head, 0, 255),
IDE_PROC_DEVSET(bios_sect, 0, 63),
IDE_PROC_DEVSET(ticks, 0, 255),
- { 0 },
+ { NULL },
};