sparse pointer use of zero as null
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 18 Oct 2007 10:07:05 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:31 +0000 (14:37 -0700)
commitc80544dc0b87bb65038355e7aafdc30be16b26ab
tree176349304bec88a9de16e650c9919462e0dd453c
parent0e9663ee452ffce0d429656ebbcfe69417a30e92
sparse pointer use of zero as null

Get rid of sparse related warnings from places that use integer as NULL
pointer.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Ian Kent <raven@themaw.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 files changed:
arch/x86/kernel/vsyscall_64.c
drivers/ata/libata-sff.c
drivers/base/dmapool.c
drivers/char/random.c
fs/autofs/waitq.c
fs/autofs4/waitq.c
fs/compat_ioctl.c
fs/eventpoll.c
fs/ext3/fsync.c
fs/ext3/inode.c
fs/jbd/journal.c
fs/jbd/transaction.c
fs/nls/nls_base.c
init/do_mounts_rd.c
kernel/futex.c
kernel/kexec.c
mm/hugetlb.c
mm/mremap.c
mm/vmscan.c
security/selinux/xfrm.c