aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>2019-03-20 14:56:53 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2019-03-27 21:34:20 -0400
commit3e6f7de43f4960fba8322b16531b0d6624a9322d (patch)
treea58b98cdcdff7ad6e286f316067b1900df9fd96c /lib/mpi/mpiutil.c
parent95237c25d8d08ebc451dd2d793f7e765f57b0c9f (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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions