Re: tipc: fix simple sparse warnings

2006-01-20 Thread Per Liden
On Thu, 19 Jan 2006, Sam Ravnborg wrote: > 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

tipc: fix simple sparse warnings

2006-01-19 Thread Sam Ravnborg
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 <[EMAIL PROTECTED]> ---