diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 7dc55989b8ff..184e45f286d2 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -8147,8 +8147,12 @@ lpfc_pci_probe_one_s4(struct pci_dev *pdev, const struct pci_device_id *pid) | |||
8147 | } | 8147 | } |
8148 | 8148 | ||
8149 | /* Initialize and populate the iocb list per host */ | 8149 | /* Initialize and populate the iocb list per host */ |
8150 | error = lpfc_init_iocb_list(phba, | 8150 | |
8151 | phba->sli4_hba.max_cfg_param.max_xri); | 8151 | lpfc_printf_log(phba, KERN_INFO, LOG_INIT, |
8152 | "2821 initialize iocb list %d.\n", | ||
8153 | phba->cfg_iocb_cnt*1024); | ||
8154 | error = lpfc_init_iocb_list(phba, phba->cfg_iocb_cnt*1024); | ||
8155 | |||
8152 | if (error) { | 8156 | if (error) { |
8153 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, | 8157 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, |
8154 | "1413 Failed to initialize iocb list.\n"); | 8158 | "1413 Failed to initialize iocb list.\n"); |