From: Rashika Kheria Date: Thu, 24 Oct 2013 13:57:14 +0000 (+0530) Subject: Staging: lustre: Fix EXPORT_SYMBOL should immediately follow its function/variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=735c2e264b1595bda4b3886152aebe05c082a3ef;p=linux-beck.git Staging: lustre: Fix EXPORT_SYMBOL should immediately follow its function/variable This patch fixes the following checkpatch.pl issues in lnet/lnet/acceptor.c: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Rashika Kheria Reviewed-by: Lisa Nguyen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c b/drivers/staging/lustre/lnet/lnet/acceptor.c index 27c1fdf560eb..0fee292b09e4 100644 --- a/drivers/staging/lustre/lnet/lnet/acceptor.c +++ b/drivers/staging/lustre/lnet/lnet/acceptor.c @@ -53,6 +53,7 @@ lnet_acceptor_port(void) { return accept_port; } +EXPORT_SYMBOL(lnet_acceptor_port); static inline int lnet_accept_magic(__u32 magic, __u32 constant) @@ -61,9 +62,6 @@ lnet_accept_magic(__u32 magic, __u32 constant) magic == __swab32(constant)); } - -EXPORT_SYMBOL(lnet_acceptor_port); - static char *accept = "secure"; CFS_MODULE_PARM(accept, "s", charp, 0444,