aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index fb8905f893f..23a47e53685 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -8476,7 +8476,7 @@ lpfc_sli_intr_handler(int irq, void *dev_id)
8476 * If there is deferred error attention, do not check for any interrupt. 8476 * If there is deferred error attention, do not check for any interrupt.
8477 */ 8477 */
8478 if (unlikely(phba->hba_flag & DEFER_ERATT)) { 8478 if (unlikely(phba->hba_flag & DEFER_ERATT)) {
8479 spin_unlock_irq(&phba->hbalock); 8479 spin_unlock(&phba->hbalock);
8480 return IRQ_NONE; 8480 return IRQ_NONE;
8481 } 8481 }
8482 8482
@@ -12827,9 +12827,9 @@ lpfc_cleanup_pending_mbox(struct lpfc_vport *vport)
12827 } 12827 }
12828 ndlp = (struct lpfc_nodelist *) mb->context2; 12828 ndlp = (struct lpfc_nodelist *) mb->context2;
12829 if (ndlp) { 12829 if (ndlp) {
12830 spin_lock_irq(shost->host_lock); 12830 spin_lock(shost->host_lock);
12831 ndlp->nlp_flag &= ~NLP_IGNR_REG_CMPL; 12831 ndlp->nlp_flag &= ~NLP_IGNR_REG_CMPL;
12832 spin_unlock_irq(shost->host_lock); 12832 spin_unlock(shost->host_lock);
12833 lpfc_nlp_put(ndlp); 12833 lpfc_nlp_put(ndlp);
12834 mb->context2 = NULL; 12834 mb->context2 = NULL;
12835 } 12835 }
@@ -12845,9 +12845,9 @@ lpfc_cleanup_pending_mbox(struct lpfc_vport *vport)
12845 if (mb->u.mb.mbxCommand == MBX_REG_LOGIN64) { 12845 if (mb->u.mb.mbxCommand == MBX_REG_LOGIN64) {
12846 ndlp = (struct lpfc_nodelist *) mb->context2; 12846 ndlp = (struct lpfc_nodelist *) mb->context2;
12847 if (ndlp) { 12847 if (ndlp) {
12848 spin_lock_irq(shost->host_lock); 12848 spin_lock(shost->host_lock);
12849 ndlp->nlp_flag &= ~NLP_IGNR_REG_CMPL; 12849 ndlp->nlp_flag &= ~NLP_IGNR_REG_CMPL;
12850 spin_unlock_irq(shost->host_lock); 12850 spin_unlock(shost->host_lock);
12851 lpfc_nlp_put(ndlp); 12851 lpfc_nlp_put(ndlp);
12852 mb->context2 = NULL; 12852 mb->context2 = NULL;
12853 } 12853 }