net/xfrm/xfrm_output.c: move EXPORT_SYMBOL
authorFabian Frederick <fabf@skynet.be>
Mon, 12 May 2014 17:54:34 +0000 (19:54 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 13 May 2014 10:44:28 +0000 (12:44 +0200)
Fix checkpatch warning:
"WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable"

Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_output.c

index 3bb2cdc13b46e1468743e1130d6c4c25e08921e0..c51e8f7b8653cb167aba13f61c2d7520d615c31c 100644 (file)
@@ -199,6 +199,7 @@ int xfrm_output(struct sk_buff *skb)
 
        return xfrm_output2(skb);
 }
+EXPORT_SYMBOL_GPL(xfrm_output);
 
 int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb)
 {
@@ -213,6 +214,7 @@ int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb)
                return -EAFNOSUPPORT;
        return inner_mode->afinfo->extract_output(x, skb);
 }
+EXPORT_SYMBOL_GPL(xfrm_inner_extract_output);
 
 void xfrm_local_error(struct sk_buff *skb, int mtu)
 {
@@ -233,7 +235,4 @@ void xfrm_local_error(struct sk_buff *skb, int mtu)
        afinfo->local_error(skb, mtu);
        xfrm_state_put_afinfo(afinfo);
 }
-
-EXPORT_SYMBOL_GPL(xfrm_output);
-EXPORT_SYMBOL_GPL(xfrm_inner_extract_output);
 EXPORT_SYMBOL_GPL(xfrm_local_error);