[SCSI] lpfc 8.3.40: Fixed some logging message fields
authorJames Smart <james.smart@emulex.com>
Fri, 31 May 2013 21:04:28 +0000 (17:04 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 26 Jun 2013 17:48:46 +0000 (10:48 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_sli.c

index a36a8c7c0a3e2ac82955152650ae7af501e07bcd..59addac9097d4559f8df3b6552f6a2bf9eee1036 100644 (file)
@@ -8713,7 +8713,7 @@ lpfc_sli4_abts_err_handler(struct lpfc_hba *phba,
        lpfc_printf_log(phba, KERN_WARNING, LOG_SLI,
                        "3116 Port generated FCP XRI ABORT event on "
                        "vpi %d rpi %d xri x%x status 0x%x parameter x%x\n",
-                       ndlp->vport->vpi, ndlp->nlp_rpi,
+                       ndlp->vport->vpi, phba->sli4_hba.rpi_ids[ndlp->nlp_rpi],
                        bf_get(lpfc_wcqe_xa_xri, axri),
                        bf_get(lpfc_wcqe_xa_status, axri),
                        axri->parameter);
@@ -9769,7 +9769,7 @@ lpfc_sli_abort_fcp_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
                        struct lpfc_iocbq *rspiocb)
 {
        lpfc_printf_log(phba, KERN_INFO, LOG_SLI,
-                       "3096 ABORT_XRI_CN completing on xri x%x "
+                       "3096 ABORT_XRI_CN completing on rpi x%x "
                        "original iotag x%x, abort cmd iotag x%x "
                        "status 0x%x, reason 0x%x\n",
                        cmdiocb->iocb.un.acxri.abortContextTag,