diff options
author | Chaitra P B <chaitra.basappa@broadcom.com> | 2018-04-24 05:28:30 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 00:34:19 -0400 |
commit | cf6bf9710cabba1fe94a4349f4eb8db623c77ebc (patch) | |
tree | 2e8de24ef46081915e054e227aa0f251a6687530 /drivers/scsi/mpt3sas/mpi/mpi2_init.h | |
parent | 23b389c23139b80f5944a6d89e269974aaa9d139 (diff) |
scsi: mpt3sas: Bug fix for big endian systems.
This patch fixes sparse warnings and bugs on big endian systems.
Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
-rw-r--r-- | drivers/scsi/mpt3sas/mpi/mpi2_init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_init.h b/drivers/scsi/mpt3sas/mpi/mpi2_init.h index 948a3ba682d7..6213ce6791ac 100644 --- a/drivers/scsi/mpt3sas/mpi/mpi2_init.h +++ b/drivers/scsi/mpt3sas/mpi/mpi2_init.h | |||
@@ -75,7 +75,7 @@ | |||
75 | 75 | ||
76 | typedef struct _MPI2_SCSI_IO_CDB_EEDP32 { | 76 | typedef struct _MPI2_SCSI_IO_CDB_EEDP32 { |
77 | U8 CDB[20]; /*0x00 */ | 77 | U8 CDB[20]; /*0x00 */ |
78 | U32 PrimaryReferenceTag; /*0x14 */ | 78 | __be32 PrimaryReferenceTag; /*0x14 */ |
79 | U16 PrimaryApplicationTag; /*0x18 */ | 79 | U16 PrimaryApplicationTag; /*0x18 */ |
80 | U16 PrimaryApplicationTagMask; /*0x1A */ | 80 | U16 PrimaryApplicationTagMask; /*0x1A */ |
81 | U32 TransferLength; /*0x1C */ | 81 | U32 TransferLength; /*0x1C */ |