Re: [PATCH] ibmvfc: byteswap scsi_id, wwpn, and node_name prior to logging
From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2016-02-17 23:31:06
Also in:
linux-scsi
From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2016-02-17 23:31:06
Also in:
linux-scsi
quoted
quoted
quoted
quoted
"Tyrel" == Tyrel Datwyler [off-list ref] writes:
Tyrel> When logging async events the scsi_id, wwpn, and node_name values Tyrel> are used directly from the CRQ struct which are of type Tyrel> __be64. This can be confusing to someone looking through the log Tyrel> on a LE system. Instead byteswap these values to host endian Tyrel> prior to logging. Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering