scsi: mpt3sas: Fix endianness for ActiveCablePowerRequirement
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Tue, 30 Mar 2021 10:51:06 +0000 (16:21 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Apr 2021 03:30:49 +0000 (23:30 -0400)
commitc0629d70ca5570ab75e791e03e6fd11b9c754a6a
tree93fdba1e769410d7a152474e588fd5c5aadb4828
parent4c51f956965120b3441cdd39c358b87daba13e19
scsi: mpt3sas: Fix endianness for ActiveCablePowerRequirement

Covert ActiveCablePowerRequirement's value to target CPU endian before
displaying it.

Link: https://lore.kernel.org/r/20210330105106.20569-1-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c