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 "