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

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

gre_offload: fix sparse non static symbol warning



Fixes the following sparse warning:

net/ipv4/gre_offload.c:253:5: warning:
 symbol 'gre_gro_complete' 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 c139cd3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ out:
	return pp;
}

int gre_gro_complete(struct sk_buff *skb, int nhoff)
static int gre_gro_complete(struct sk_buff *skb, int nhoff)
{
	struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff);
	struct packet_offload *ptype;