commit | 3e6f7de43f4960fba8322b16531b0d6624a9322d | [log] [tgz] |
---|---|---|
author | Tyrel Datwyler <tyreld@linux.vnet.ibm.com> | Wed Mar 20 14:56:53 2019 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Mar 27 21:34:20 2019 -0400 |
tree | a58b98cdcdff7ad6e286f316067b1900df9fd96c | |
parent | 95237c25d8d08ebc451dd2d793f7e765f57b0c9f [diff] |
scsi: ibmvfc: Byte swap status and error codes when logging Status and error codes are returned in big endian from the VIOS. The values are translated into a human readable format when logged, but the values are also logged. This patch byte swaps those values so that they are consistent between BE and LE platforms. Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>