aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rwxr-xr-xdrivers/scsi/lpfc/lpfc_hbadisc.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 401167de4ff0..f40b9609f6e4 100755
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -1555,10 +1555,16 @@ lpfc_mbx_cmpl_read_fcf_record(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
1555 * to book keeping the FCFIs can be used. 1555 * to book keeping the FCFIs can be used.
1556 */ 1556 */
1557 if (shdr_status || shdr_add_status) { 1557 if (shdr_status || shdr_add_status) {
1558 lpfc_printf_log(phba, KERN_ERR, LOG_INIT, 1558 if (shdr_status == STATUS_FCF_TABLE_EMPTY) {
1559 "2521 READ_FCF_RECORD mailbox failed " 1559 lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
1560 "with status x%x add_status x%x, mbx\n", 1560 "2726 READ_FCF_RECORD Indicates empty "
1561 shdr_status, shdr_add_status); 1561 "FCF table.\n");
1562 } else {
1563 lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
1564 "2521 READ_FCF_RECORD mailbox failed "
1565 "with status x%x add_status x%x, mbx\n",
1566 shdr_status, shdr_add_status);
1567 }
1562 goto out; 1568 goto out;
1563 } 1569 }
1564 /* Interpreting the returned information of FCF records */ 1570 /* Interpreting the returned information of FCF records */