diff options
author | Santosh Nayak <[email protected]> | 2012-03-06 22:36:59 +0530 |
---|---|---|
committer | James Bottomley <[email protected]> | 2012-03-27 08:26:35 +0100 |
commit | 76c8ae4b2fbcbc92601c48e1b534c35638c8d597 (patch) | |
tree | 6d3e9269516b7d7a682ca406d29676fa71a2fe83 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 6d76222e1a57deaba1562ce3d3312b5f21888bd1 (diff) |
[SCSI] bfa: Fix endian bug in bfad_iocmd_debug_fw_core().
Casting pointer from native data type to other type is
endian-sensitive.
"iocmd->offset" is 64 bit but we use only first 32 bit.
It works in little-endian system but in big-endian system
it will break.
Signed-off-by: Santosh Nayak <[email protected]>
Acked-by: Jing Huang <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions