Staging: lustre: Fix EXPORT_SYMBOL should immediately follow its function/variable
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 24 Oct 2013 13:57:14 +0000 (19:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 03:27:06 +0000 (20:27 -0700)
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 <rashika.kheria@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/acceptor.c

index 27c1fdf560eb83811d3e8106ce19488e2b701cd1..0fee292b09e4d50bfebef7b93862678c2c36f80f 100644 (file)
@@ -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,