Commit fc68086c authored by Fabian Frederick's avatar Fabian Frederick Committed by Steffen Klassert

net/xfrm/xfrm_output.c: move EXPORT_SYMBOL

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: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 2e71029e
...@@ -199,6 +199,7 @@ int xfrm_output(struct sk_buff *skb) ...@@ -199,6 +199,7 @@ int xfrm_output(struct sk_buff *skb)
return xfrm_output2(skb); return xfrm_output2(skb);
} }
EXPORT_SYMBOL_GPL(xfrm_output);
int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb) 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) ...@@ -213,6 +214,7 @@ int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb)
return -EAFNOSUPPORT; return -EAFNOSUPPORT;
return inner_mode->afinfo->extract_output(x, skb); 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) void xfrm_local_error(struct sk_buff *skb, int mtu)
{ {
...@@ -233,7 +235,4 @@ 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); afinfo->local_error(skb, mtu);
xfrm_state_put_afinfo(afinfo); xfrm_state_put_afinfo(afinfo);
} }
EXPORT_SYMBOL_GPL(xfrm_output);
EXPORT_SYMBOL_GPL(xfrm_inner_extract_output);
EXPORT_SYMBOL_GPL(xfrm_local_error); EXPORT_SYMBOL_GPL(xfrm_local_error);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment