From: Fabian Frederick Date: Thu, 25 Dec 2014 11:05:50 +0000 (+0100) Subject: tipc: replace 0 by NULL for pointers X-Git-Tag: v4.14-rc1~5989^2~317 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=886eaa1fe668e75615a48df2ff68e23b762e31e8;p=platform%2Fkernel%2Flinux-rpi.git tipc: replace 0 by NULL for pointers Fix sparse warning: net/tipc/link.c:1924:40: warning: Using plain integer as NULL pointer Signed-off-by: Fabian Frederick Acked-by: Ying Xue Signed-off-by: David S. Miller --- diff --git a/net/tipc/link.c b/net/tipc/link.c index 23bcc11..082c3b5 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -1921,7 +1921,7 @@ static struct tipc_node *tipc_link_find_owner(const char *link_name, { struct tipc_link *l_ptr; struct tipc_node *n_ptr; - struct tipc_node *found_node = 0; + struct tipc_node *found_node = NULL; int i; *bearer_id = 0;