From 49b443923093288b3cd9e312ca0aebec37ab66dc Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 4 Nov 2018 04:33:26 +0000 Subject: [PATCH] Merge r7454 from trunk git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7707 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_init.c | 2 +- qla2x00t/qla_os.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qla2x00t/qla_init.c b/qla2x00t/qla_init.c index 7d21e624c..03b8e5886 100644 --- a/qla2x00t/qla_init.c +++ b/qla2x00t/qla_init.c @@ -947,7 +947,7 @@ qla24xx_reset_risc(scsi_qla_host_t *vha) struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; uint32_t cnt, d2; uint16_t wd; - static int abts_cnt = 0; /* ISP abort retry counts */ + static int abts_cnt; /* ISP abort retry counts */ spin_lock_irqsave(&ha->hardware_lock, flags); diff --git a/qla2x00t/qla_os.c b/qla2x00t/qla_os.c index 688a43748..7b3efb2c7 100644 --- a/qla2x00t/qla_os.c +++ b/qla2x00t/qla_os.c @@ -92,7 +92,7 @@ MODULE_PARM_DESC(ql2xplogiabsentdevice, "a Fabric scan. This is needed for several broken switches. " "Default is 0 - no PLOGI. 1 - perfom PLOGI."); -int ql2xloginretrycount = 0; +int ql2xloginretrycount; module_param(ql2xloginretrycount, int, S_IRUGO); MODULE_PARM_DESC(ql2xloginretrycount, "Specify an alternate value for the NVRAM login retry count."); @@ -143,7 +143,7 @@ MODULE_PARM_DESC(ql2xmaxqdepth, "Maximum queue depth to report for target devices."); /* Do not change the value of this after module load */ -int ql2xenabledif = 0; +int ql2xenabledif; module_param(ql2xenabledif, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(ql2xenabledif, " Enable T10-CRC-DIF "