projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c139cd3
)
gre_offload: fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Thu, 9 Jan 2014 14:22:05 +0000
(22:22 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Jan 2014 19:36:43 +0000
(11:36 -0800)
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_offload.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/gre_offload.c
b/net/ipv4/gre_offload.c
index 746a7b10d434e9270db2ef35ed5a0cb2f925982c..31da9f5125837d0af682cefee2869948680830cb 100644
(file)
--- a/
net/ipv4/gre_offload.c
+++ b/
net/ipv4/gre_offload.c
@@
-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;