diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index e78089ded517..7fd1344ff1f9 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -3150,7 +3150,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha, | |||
3150 | sw_info_t *swl; | 3150 | sw_info_t *swl; |
3151 | int swl_idx; | 3151 | int swl_idx; |
3152 | int first_dev, last_dev; | 3152 | int first_dev, last_dev; |
3153 | port_id_t wrap, nxt_d_id; | 3153 | port_id_t wrap = {}, nxt_d_id; |
3154 | struct qla_hw_data *ha = vha->hw; | 3154 | struct qla_hw_data *ha = vha->hw; |
3155 | struct scsi_qla_host *vp, *base_vha = pci_get_drvdata(ha->pdev); | 3155 | struct scsi_qla_host *vp, *base_vha = pci_get_drvdata(ha->pdev); |
3156 | struct scsi_qla_host *tvp; | 3156 | struct scsi_qla_host *tvp; |
@@ -3453,7 +3453,7 @@ qla2x00_device_resync(scsi_qla_host_t *vha) | |||
3453 | uint32_t rscn_entry; | 3453 | uint32_t rscn_entry; |
3454 | uint8_t rscn_out_iter; | 3454 | uint8_t rscn_out_iter; |
3455 | uint8_t format; | 3455 | uint8_t format; |
3456 | port_id_t d_id; | 3456 | port_id_t d_id = {}; |
3457 | 3457 | ||
3458 | rval = QLA_RSCNS_HANDLED; | 3458 | rval = QLA_RSCNS_HANDLED; |
3459 | 3459 | ||