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 <rashika.kheria@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f93c061686
commit
735c2e264b
@ -53,6 +53,7 @@ lnet_acceptor_port(void)
|
|||||||
{
|
{
|
||||||
return accept_port;
|
return accept_port;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(lnet_acceptor_port);
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
lnet_accept_magic(__u32 magic, __u32 constant)
|
lnet_accept_magic(__u32 magic, __u32 constant)
|
||||||
@ -61,9 +62,6 @@ lnet_accept_magic(__u32 magic, __u32 constant)
|
|||||||
magic == __swab32(constant));
|
magic == __swab32(constant));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
EXPORT_SYMBOL(lnet_acceptor_port);
|
|
||||||
|
|
||||||
static char *accept = "secure";
|
static char *accept = "secure";
|
||||||
|
|
||||||
CFS_MODULE_PARM(accept, "s", charp, 0444,
|
CFS_MODULE_PARM(accept, "s", charp, 0444,
|
||||||
|
Loading…
Reference in New Issue
Block a user