提交 735c2e26 编写于 作者: R Rashika Kheria 提交者: Greg Kroah-Hartman

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: NRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: NLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f93c0616
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册