projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db7843
)
Staging: lustre: fix ERROR: do not initialise statics to 0 or NULL in module.c
author
Ebru Akagunduz
<
[email protected]
>
Tue, 8 Oct 2013 20:31:51 +0000
(23:31 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 11 Oct 2013 20:26:14 +0000
(13:26 -0700)
Fix checkpatch.pl issues with do not initialise statics to 0 or NULL in module.c
Signed-off-by: Ebru Akagunduz <
[email protected]
>
Reviewed-by: Josh Triplett <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/lustre/lnet/lnet/module.c
patch
|
blob
|
history
diff --git
a/drivers/staging/lustre/lnet/lnet/module.c
b/drivers/staging/lustre/lnet/lnet/module.c
index afb81755cbad19390adddc59a546f4f6445cc401..f323f038b22a3206da1ecd7aa8ee95490869c86d 100644
(file)
--- a/
drivers/staging/lustre/lnet/lnet/module.c
+++ b/
drivers/staging/lustre/lnet/lnet/module.c
@@
-37,7
+37,7
@@
#define DEBUG_SUBSYSTEM S_LNET
#include <linux/lnet/lib-lnet.h>
-static int config_on_load
= 0
;
+static int config_on_load;
CFS_MODULE_PARM(config_on_load, "i", int, 0444,
"configure network at module load");