aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-20 19:39:17 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-20 19:39:17 -0700
commitfc7b93800b48324667e218a4b6b784b853cf4dd7 (patch)
tree7b8512b68c888298aff7e1a44cf4be5ef36697f4 /include/linux/netdevice.h
parentc2e68052429fdf87702fccd272951282bef1c60a (diff)
[IPV4]: Fix inetpeer gcc-4.2 warnings
CC net/ipv4/inetpeer.o net/ipv4/inetpeer.c: In function 'unlink_from_pool': net/ipv4/inetpeer.c:297: warning: the address of 'stack' will always evaluate as 'true' net/ipv4/inetpeer.c:297: warning: the address of 'stack' will always evaluate as 'true' net/ipv4/inetpeer.c: In function 'inet_getpeer': net/ipv4/inetpeer.c:409: warning: the address of 'stack' will always evaluate as 'true' net/ipv4/inetpeer.c:409: warning: the address of 'stack' will always evaluate as 'true' "Fix" by checking for != NULL. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions