scsi: qla2xxx: Fix WWPN/WWNN in debug message
authorDarren Trap <darren.trap@cavium.com>
Wed, 23 Aug 2017 22:04:59 +0000 (15:04 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:19 +0000 (22:29 -0400)
Signed-off-by: Darren Trap <darren.trap@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c

index 5692ae128655b6dc164b49ce83929529428744ae..1f59e7a74c7b7b9dc7db660e6114420bc90ce8b7 100644 (file)
@@ -60,8 +60,8 @@ int qla_nvme_register_remote(struct scsi_qla_host *vha, struct fc_port *fcport)
        rport->req.port_id = fcport->d_id.b24;
 
        ql_log(ql_log_info, vha, 0x2102,
-           "%s: traddr=pn-0x%016llx:nn-0x%016llx PortID:%06x\n",
-           __func__, rport->req.port_name, rport->req.node_name,
+           "%s: traddr=nn-0x%016llx:pn-0x%016llx PortID:%06x\n",
+           __func__, rport->req.node_name, rport->req.port_name,
            rport->req.port_id);
 
        ret = nvme_fc_register_remoteport(vha->nvme_local_port, &rport->req,
@@ -723,8 +723,8 @@ void qla_nvme_register_hba(struct scsi_qla_host *vha)
        pinfo.port_id = vha->d_id.b24;
 
        ql_log(ql_log_info, vha, 0xffff,
-           "register_localport: host-traddr=pn-0x%llx:nn-0x%llx on portID:%x\n",
-           pinfo.port_name, pinfo.node_name, pinfo.port_id);
+           "register_localport: host-traddr=nn-0x%llx:pn-0x%llx on portID:%x\n",
+           pinfo.node_name, pinfo.port_name, pinfo.port_id);
        qla_nvme_fc_transport.dma_boundary = vha->host->dma_boundary;
 
        ret = nvme_fc_register_localport(&pinfo, tmpl,