aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index cb6969320b47..920b76bfbb93 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5210,7 +5210,7 @@ qla81xx_nvram_config(scsi_qla_host_t *vha)
5210 } 5210 }
5211 5211
5212 /* Reset Initialization control block */ 5212 /* Reset Initialization control block */
5213 memset(icb, 0, sizeof(struct init_cb_81xx)); 5213 memset(icb, 0, ha->init_cb_size);
5214 5214
5215 /* Copy 1st segment. */ 5215 /* Copy 1st segment. */
5216 dptr1 = (uint8_t *)icb; 5216 dptr1 = (uint8_t *)icb;