projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece37c8
)
ip_tunnel: fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Wed, 8 Jan 2014 13:59:30 +0000
(21:59 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 9 Jan 2014 19:31:47 +0000
(14:31 -0500)
Fixes the following sparse warning:
net/ipv4/ip_tunnel.c:116:18: warning:
symbol 'tunnel_dst_check' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ip_tunnel.c
b/net/ipv4/ip_tunnel.c
index 07a5ed374262bcc9ead4f7534317cdbca8b286de..d3929a69f0082df71c8885c1ed52994f9983a6dd 100644
(file)
--- a/
net/ipv4/ip_tunnel.c
+++ b/
net/ipv4/ip_tunnel.c
@@
-113,7
+113,7
@@
static inline struct dst_entry *tunnel_dst_get(struct ip_tunnel *t)
return dst;
}
-struct dst_entry *tunnel_dst_check(struct ip_tunnel *t, u32 cookie)
+st
atic st
ruct dst_entry *tunnel_dst_check(struct ip_tunnel *t, u32 cookie)
{
struct dst_entry *dst = tunnel_dst_get(t);