diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-03-06 18:06:59 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-27 09:26:35 +0200 |
commit | 76c8ae4b2fbcbc92601c48e1b534c35638c8d597 (patch) | |
tree | 6d3e9269516b7d7a682ca406d29676fa71a2fe83 /drivers/scsi/bnx2fc | |
parent | [SCSI] qla4xxx: Update driver version to 5.02.00-k16 (diff) | |
download | linux-76c8ae4b2fbcbc92601c48e1b534c35638c8d597.tar.xz linux-76c8ae4b2fbcbc92601c48e1b534c35638c8d597.zip |
[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 <santoshprasadnayak@gmail.com>
Acked-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions