From: Wei Yongjun Date: Wed, 8 Jan 2014 13:59:30 +0000 (+0800) Subject: ip_tunnel: fix sparse non static symbol warning X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~247 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0eb1f7e66dd53355746cd6a8e7e56c465dc6cde;p=platform%2Fkernel%2Flinux-arm64.git ip_tunnel: fix sparse non static symbol warning 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index 07a5ed3..d3929a6 100644 --- 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) +static struct dst_entry *tunnel_dst_check(struct ip_tunnel *t, u32 cookie) { struct dst_entry *dst = tunnel_dst_get(t);