Fixed some logging message fields

Signed-off-by: James Smart <[email protected]>

 ---

 lpfc_sli.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
--- a/drivers/scsi/lpfc/lpfc_sli.c      2013-05-31 10:58:19.924057676 -0400
+++ b/drivers/scsi/lpfc/lpfc_sli.c      2013-05-31 10:58:20.537057690 -0400
@@ -8713,7 +8713,7 @@ lpfc_sli4_abts_err_handler(struct lpfc_h
        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
                        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,



--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to