staging:lustre:lnet:lnet Function must be static
PATCH 1/1 staging:lustre:lnet:lnet Function must be static
From: Sun Wang <[email protected]>
Function must be static if function will not be used in other files.
Signed-off-by Sun Wang <[email protected]>
---
drivers/staging/lustre/lnet/lnet/{module.c.org => module.c} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/lnet/lnet/module.c renamed from drivers/staging/lustre/lnet/lnet/module.c.org +1 -1
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(config_on_load, "configure network at module load");static struct mutex lnet_config_mutex; -int +static int lnet_configure (void *arg) {/* 'arg' only there so I can be passed to cfs_create_thread() */
Greg Kroah-Hartman
maintainerQuoted 15 lines · sunwxg
From: Sun Wang <[email protected]>
Function must be static if function will not be used in other files.
Signed-off-by Sun Wang <[email protected]>--- drivers/staging/lustre/lnet/lnet/{module.c.org => module.c} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/lnet/lnet/module.c renamed from drivers/staging/lustre/lnet/lnet/module.c.org +0
-0
drivers/staging/lustre/lnet/lnet/module.c MODULE_PARM_DESC(config_on_load, "configure network at module load"); · line 49
Quoted 8 lines
drivers/staging/lustre/lnet/lnet/module.c renamed from drivers/staging/lustre/lnet/lnet/module.c.org +1
-1@@ -43,7 +43,7 @@ MODULE_PARM_DESC(config_on_load, "configure network at module load");static struct mutex lnet_config_mutex; -int +static int lnet_configure (void *arg) {/* 'arg' only there so I can be passed to cfs_create_thread() */
Does not apply :(