scsi: qla2xxx: Fix WWPN/WWNN in debug message

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>
This commit is contained in:
Darren Trap 2017-08-23 15:04:59 -07:00 committed by Martin K. Petersen
parent cf19c45dba
commit d7936a96e4

View 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,