[TIPC]: Fix simple sparse warnings
authorSam Ravnborg <sam@ravnborg.org>
Tue, 21 Mar 2006 06:36:47 +0000 (22:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:36:47 +0000 (22:36 -0800)
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>

No differences found