[NET]: sparse warning fixes
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 9 Oct 2007 08:59:42 +0000 (01:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:48 +0000 (16:54 -0700)
commitcfcabdcc2d5a810208e5bb3974121b7ed60119aa
tree1aed711eeecc5a303b57f1fc47e1b5746e8a72c2
parentde83c058af25aa97ed4864abab11e90e8dead6e2
[NET]: sparse warning fixes

Fix a bunch of sparse warnings. Mostly about 0 used as
NULL pointer, and shadowed variable declarations.
One notable case was that hash size should have been unsigned.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 files changed:
include/net/inet_hashtables.h
include/net/sock.h
net/appletalk/aarp.c
net/atm/signaling.c
net/core/dev.c
net/core/pktgen.c
net/core/scm.c
net/ipv4/igmp.c
net/ipv4/inet_lro.c
net/ipv4/ip_sockglue.c
net/ipv4/proc.c
net/ipv4/route.c
net/ipv4/tcp_input.c
net/ipv6/anycast.c
net/ipv6/ipv6_sockglue.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/sched/cls_u32.c
net/socket.c