diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index a087524acf41..7a5ce3355808 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -475,7 +475,8 @@ lpfc_hba_down_prep(struct lpfc_hba *phba) | |||
475 | for(i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) | 475 | for(i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) |
476 | lpfc_cleanup_discovery_resources(vports[i]); | 476 | lpfc_cleanup_discovery_resources(vports[i]); |
477 | lpfc_destroy_vport_work_array(phba, vports); | 477 | lpfc_destroy_vport_work_array(phba, vports); |
478 | } return 0; | 478 | } |
479 | return 0; | ||
479 | } | 480 | } |
480 | 481 | ||
481 | /************************************************************************/ | 482 | /************************************************************************/ |
@@ -1740,9 +1741,9 @@ lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev) | |||
1740 | 1741 | ||
1741 | vport = (struct lpfc_vport *) shost->hostdata; | 1742 | vport = (struct lpfc_vport *) shost->hostdata; |
1742 | vport->phba = phba; | 1743 | vport->phba = phba; |
1743 | |||
1744 | vport->load_flag |= FC_LOADING; | 1744 | vport->load_flag |= FC_LOADING; |
1745 | vport->fc_flag |= FC_VPORT_NEEDS_REG_VPI; | 1745 | vport->fc_flag |= FC_VPORT_NEEDS_REG_VPI; |
1746 | vport->fc_rscn_flush = 0; | ||
1746 | 1747 | ||
1747 | lpfc_get_vport_cfgparam(vport); | 1748 | lpfc_get_vport_cfgparam(vport); |
1748 | shost->unique_id = instance; | 1749 | shost->unique_id = instance; |