From: YOSHIFUJI Hideaki Date: Thu, 10 Apr 2008 06:41:27 +0000 (+0900) Subject: [IPV6] SIT: Sparse: Use NULL pointer instead of 0. X-Git-Tag: v2.6.26-rc1~1138^2~123^2~15 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02e10b90cd478bda81b4644102b0009bcd1d14ab;p=linux-2.6 [IPV6] SIT: Sparse: Use NULL pointer instead of 0. | net/ipv6/sit.c:382:42: warning: Using plain integer as NULL pointer Signed-off-by: YOSHIFUJI Hideaki --- diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index cc16fe07bb..91e46fbe6c 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -379,7 +379,7 @@ static void ipip6_tunnel_uninit(struct net_device *dev) dev_put(dev); } else { ipip6_tunnel_unlink(netdev_priv(dev)); - ipip6_tunnel_del_prl(netdev_priv(dev), 0); + ipip6_tunnel_del_prl(netdev_priv(dev), NULL); dev_put(dev); } }