scsi: lpfc: Fix incorrect big endian type assignments in FDMI and VMID paths
authorJustin Tee <justin.tee@broadcom.com>
Tue, 30 May 2023 19:14:05 +0000 (12:14 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 May 2023 22:17:52 +0000 (18:17 -0400)
commit6e8a669e61af80d69d5ee16e0ddf3160178a63bc
tree00b8fb352b3ca14c45fa2911ee5784a1b600eb8c
parent21be4d0344c90c1769324dd880b8339d89f87c38
scsi: lpfc: Fix incorrect big endian type assignments in FDMI and VMID paths

The kernel test robot reported sparse warnings regarding the improper usage
of beXX_to_cpu() macros.

Change the flagged FDMI and VMID member variables to __beXX and redo the
beXX_to_cpu() macros appropriately.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20230530191405.21580-1-justintee8345@gmail.com
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202305261159.lTW5NYrv-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202305260751.NWFvhLY5-lkp@intel.com/
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_hw.h