summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2013-10-08 20:31:51 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 20:26:14 (GMT)
commitd62403d6dd60b86e1dc9125324a1b3e78fdca913 (patch)
tree44107500571cc5d1bdefcc705cc95a8e63115122
parent7db78438d932d12afda5f367cfcb56337457e037 (diff)
downloadlinux-fsl-qoriq-d62403d6dd60b86e1dc9125324a1b3e78fdca913.tar.xz
Staging: lustre: fix ERROR: do not initialise statics to 0 or NULL in module.c
Fix checkpatch.pl issues with do not initialise statics to 0 or NULL in module.c Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lnet/lnet/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet/module.c
index afb8175..f323f03 100644
--- 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");