aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre
diff options
context:
space:
mode:
authorDaniel Machon <dmachon.dev@gmail.com>2015-08-08 20:43:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-08 15:22:58 -0700
commitb963e7223cb3278dda35a6550a8df08ff2be2ee5 (patch)
tree741df6c0dc58841f98369af9745eb2340a4fd1bd /drivers/staging/lustre/lustre
parentStaging: lustre/lnet/selftest: framework.c: Fixed coding style issues (diff)
downloadlinux-dev-b963e7223cb3278dda35a6550a8df08ff2be2ee5.tar.xz
linux-dev-b963e7223cb3278dda35a6550a8df08ff2be2ee5.zip
Staging: lustre/lustre/ptlrpc: service.c: Fixed issue with global integer being initialized to 0
Fixed global integer initialization issue. Global variables should not be explicitly initialized to 0 or NULL. Signed-off-by: Daniel Machon <dmachon.dev@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre')
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/service.c b/drivers/staging/lustre/lustre/ptlrpc/service.c
index d3265a89538a..003344ccfffc 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/service.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/service.c
@@ -43,7 +43,7 @@
#include "ptlrpc_internal.h"
/* The following are visible and mutable through /sys/module/ptlrpc */
-int test_req_buffer_pressure = 0;
+int test_req_buffer_pressure;
module_param(test_req_buffer_pressure, int, 0444);
MODULE_PARM_DESC(test_req_buffer_pressure, "set non-zero to put pressure on request buffer pools");
module_param(at_min, int, 0644);