summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ch.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-07-20 21:52:29 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-27 04:13:29 +0200
commit241b79b1e964bed8cda8892ac0448721bfe4b55a (patch)
tree4aeaaa900a7bed261ff12e0ebabeeabd7076f49b /drivers/scsi/ch.c
parentscsi: ufs: core: Fix spelling mistake "Cannnot" -> "Cannot" (diff)
downloadlinux-241b79b1e964bed8cda8892ac0448721bfe4b55a.tar.xz
linux-241b79b1e964bed8cda8892ac0448721bfe4b55a.zip
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)");