From: Eldad Zack Date: Sun, 1 Apr 2012 07:49:05 +0000 (+0000) Subject: net/ipv6/exthdrs_core.c: Checkpatch cleanups X-Git-Tag: v3.12-rc1~3113^2~668 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81bd60b515e5e71ecdb5176be51361dfd6830b00;p=kernel%2Fkernel-generic.git 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: Eldad Zack Signed-off-by: David S. Miller --- 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);