[PATCH] ibmvfc: byteswap scsi_id, wwpn, and node_name prior to logging
Martin K. Petersen
martin.petersen at oracle.com
Thu Feb 18 10:30:51 AEDT 2016
>>>>> "Tyrel" == Tyrel Datwyler <tyreld at linux.vnet.ibm.com> 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
More information about the Linuxppc-dev
mailing list