Message ID | 1333302548-9187-5-git-send-email-eldad@fogrefinery.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Eldad Zack <eldad@fogrefinery.com> Date: Sun, 1 Apr 2012 19:49:05 +0200 > 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: Eldad Zack <eldad@fogrefinery.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv6/exthdrs_core.c b/net/ipv6/exthdrs_core.c index 72957f4..7b1a884 100644 --- a/net/ipv6/exthdrs_core.c +++ b/net/ipv6/exthdrs_core.c @@ -21,6 +21,7 @@ int ipv6_ext_hdr(u8 nexthdr) (nexthdr == NEXTHDR_NONE) || (nexthdr == NEXTHDR_DEST); } +EXPORT_SYMBOL(ipv6_ext_hdr); /* * 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, *nexthdrp = nexthdr; return start; } - -EXPORT_SYMBOL(ipv6_ext_hdr); EXPORT_SYMBOL(ipv6_skip_exthdr);
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: Eldad Zack <eldad@fogrefinery.com> --- net/ipv6/exthdrs_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)