WSL2-Linux-Kernel/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
Makefile
addr.c
addr.h
bcast.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
bcast.h
bearer.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
bearer.h
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
core.c
core.h
dbg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
dbg.h
discover.c
discover.h
eth_media.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
handler.c
link.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
link.h
msg.c
msg.h
name_distr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
name_distr.h
name_table.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
name_table.h
net.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
net.h
netlink.c
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
port.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
port.h
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
user_reg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
user_reg.h
zone.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
zone.h