Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0eb1f7e authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ece37c87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);