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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 157ad1ceceae..f31a36827512 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -5280,6 +5280,7 @@ lpfc_sli4_driver_resource_unset(struct lpfc_hba *phba)
5280 kfree(phba->sli4_hba.cpu_map); 5280 kfree(phba->sli4_hba.cpu_map);
5281 phba->sli4_hba.num_present_cpu = 0; 5281 phba->sli4_hba.num_present_cpu = 0;
5282 phba->sli4_hba.num_online_cpu = 0; 5282 phba->sli4_hba.num_online_cpu = 0;
5283 phba->sli4_hba.curr_disp_cpu = 0;
5283 5284
5284 /* Free memory allocated for msi-x interrupt vector entries */ 5285 /* Free memory allocated for msi-x interrupt vector entries */
5285 kfree(phba->sli4_hba.msix_entries); 5286 kfree(phba->sli4_hba.msix_entries);
@@ -6850,6 +6851,7 @@ lpfc_sli4_queue_verify(struct lpfc_hba *phba)
6850 } 6851 }
6851 phba->sli4_hba.num_online_cpu = i; 6852 phba->sli4_hba.num_online_cpu = i;
6852 phba->sli4_hba.num_present_cpu = lpfc_present_cpu; 6853 phba->sli4_hba.num_present_cpu = lpfc_present_cpu;
6854 phba->sli4_hba.curr_disp_cpu = 0;
6853 6855
6854 if (i < cfg_fcp_io_channel) { 6856 if (i < cfg_fcp_io_channel) {
6855 lpfc_printf_log(phba, 6857 lpfc_printf_log(phba,