aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index bf999b2600f4..9d3e8affccb8 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -3649,7 +3649,7 @@ lpfc_sli4_async_fip_evt(struct lpfc_hba *phba,
3649 " tag 0x%x\n", acqe_fip->index, acqe_fip->event_tag); 3649 " tag 0x%x\n", acqe_fip->index, acqe_fip->event_tag);
3650 3650
3651 vport = lpfc_find_vport_by_vpid(phba, 3651 vport = lpfc_find_vport_by_vpid(phba,
3652 acqe_fip->index - phba->vpi_base); 3652 acqe_fip->index);
3653 ndlp = lpfc_sli4_perform_vport_cvl(vport); 3653 ndlp = lpfc_sli4_perform_vport_cvl(vport);
3654 if (!ndlp) 3654 if (!ndlp)
3655 break; 3655 break;
@@ -4518,7 +4518,7 @@ lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba)
4518 } 4518 }
4519 } 4519 }
4520 4520
4521 return rc; 4521 return 0;
4522 4522
4523out_free_fcp_eq_hdl: 4523out_free_fcp_eq_hdl:
4524 kfree(phba->sli4_hba.fcp_eq_hdl); 4524 kfree(phba->sli4_hba.fcp_eq_hdl);