projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba6096
)
[IPV6] SIT: Sparse: Use NULL pointer instead of 0.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Thu, 10 Apr 2008 06:41:27 +0000
(15:41 +0900)
committer
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Fri, 11 Apr 2008 10:47:51 +0000
(19:47 +0900)
| net/ipv6/sit.c:382:42: warning: Using plain integer as NULL pointer
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/sit.c
patch
|
blob
|
history
diff --git
a/net/ipv6/sit.c
b/net/ipv6/sit.c
index
cc16fe0
..
91e46fb
100644
(file)
--- 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);
}
}