summaryrefslogtreecommitdiff
path: root/drivers/scsi/ch.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-07-21 03:52:29 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-26 22:13:29 -0400
commit241b79b1e964bed8cda8892ac0448721bfe4b55a (patch)
tree4aeaaa900a7bed261ff12e0ebabeeabd7076f49b /drivers/scsi/ch.c
parentaaa26e383bfc566eca059dcfe1123338cfc9f659 (diff)
scsi: ch: Do not initialise statics to 0
Link: https://lore.kernel.org/r/20220720195229.9109-1-gaoxin@cdjrlc.com Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ch.c')
-rw-r--r--drivers/scsi/ch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c
index 908854869864..7ab29eaec6f3 100644
--- a/drivers/scsi/ch.c
+++ b/drivers/scsi/ch.c
@@ -63,7 +63,7 @@ static int verbose = 1;
module_param(verbose, int, 0644);
MODULE_PARM_DESC(verbose,"be verbose (default: on)");
-static int debug = 0;
+static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"enable/disable debug messages, also prints more "
"detailed sense codes on scsi errors (default: off)");