aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 456b8ec7753b..c8c5b48baa66 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -2623,14 +2623,14 @@ lpfc_sli_issue_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, uint32_t flag)
2623 spin_unlock_irqrestore(&phba->hbalock, drvr_flag); 2623 spin_unlock_irqrestore(&phba->hbalock, drvr_flag);
2624 2624
2625 /* Mbox command <mbxCommand> cannot issue */ 2625 /* Mbox command <mbxCommand> cannot issue */
2626 LOG_MBOX_CANNOT_ISSUE_DATA(phba, pmbox, psli, flag) 2626 LOG_MBOX_CANNOT_ISSUE_DATA(phba, pmbox, psli, flag);
2627 return MBX_NOT_FINISHED; 2627 return MBX_NOT_FINISHED;
2628 } 2628 }
2629 2629
2630 if (mb->mbxCommand != MBX_KILL_BOARD && flag & MBX_NOWAIT && 2630 if (mb->mbxCommand != MBX_KILL_BOARD && flag & MBX_NOWAIT &&
2631 !(readl(phba->HCregaddr) & HC_MBINT_ENA)) { 2631 !(readl(phba->HCregaddr) & HC_MBINT_ENA)) {
2632 spin_unlock_irqrestore(&phba->hbalock, drvr_flag); 2632 spin_unlock_irqrestore(&phba->hbalock, drvr_flag);
2633 LOG_MBOX_CANNOT_ISSUE_DATA(phba, pmbox, psli, flag) 2633 LOG_MBOX_CANNOT_ISSUE_DATA(phba, pmbox, psli, flag);
2634 return MBX_NOT_FINISHED; 2634 return MBX_NOT_FINISHED;
2635 } 2635 }
2636 2636