提交 81bd60b5 编写于 作者: E Eldad Zack 提交者: David S. Miller

net/ipv6/exthdrs_core.c: Checkpatch cleanups

exthdrs_core.c:113: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
exthdrs_core.c:114: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ac3c8172
...@@ -21,6 +21,7 @@ int ipv6_ext_hdr(u8 nexthdr) ...@@ -21,6 +21,7 @@ int ipv6_ext_hdr(u8 nexthdr)
(nexthdr == NEXTHDR_NONE) || (nexthdr == NEXTHDR_NONE) ||
(nexthdr == NEXTHDR_DEST); (nexthdr == NEXTHDR_DEST);
} }
EXPORT_SYMBOL(ipv6_ext_hdr);
/* /*
* Skip any extension headers. This is used by the ICMP module. * Skip any extension headers. This is used by the ICMP module.
...@@ -109,6 +110,4 @@ int ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp, ...@@ -109,6 +110,4 @@ int ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp,
*nexthdrp = nexthdr; *nexthdrp = nexthdr;
return start; return start;
} }
EXPORT_SYMBOL(ipv6_ext_hdr);
EXPORT_SYMBOL(ipv6_skip_exthdr); EXPORT_SYMBOL(ipv6_skip_exthdr);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册