Message ID | 20220720195229.9109-1-gaoxin@cdjrlc.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi:do not initialise statics to 0. | expand |
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)");
do not initialise statics to 0. Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> --- drivers/scsi/ch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)