1
0
Fork 0
alistair23-linux/net/tipc
Sam Ravnborg 1fc54d8f49 [TIPC]: Fix simple sparse warnings
Tried to run the new tipc stack through sparse.
Following patch fixes all cases where 0 was used
as replacement of NULL.
Use NULL to document this is a pointer and to silence sparse.

This brough sparse warning count down with 127 to 24 warnings.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 22:36:47 -08:00
..
Kconfig [TIPC] Add help text for TIPC configuration option 2006-01-18 00:45:15 +01:00
Makefile [TIPC] Initial merge 2006-01-12 14:06:31 -08:00
addr.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
addr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
bcast.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
bcast.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
bearer.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
bearer.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
cluster.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
cluster.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
config.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
config.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
core.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
core.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
dbg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
dbg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
discover.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
discover.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
eth_media.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
handler.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
link.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
link.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
msg.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
msg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
name_distr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
name_distr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
name_table.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
name_table.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
net.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
net.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
netlink.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
node.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
node.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
node_subscr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
node_subscr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
port.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
port.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
ref.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
ref.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
socket.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
subscr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
subscr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
user_reg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
user_reg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
zone.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
zone.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00