diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-03-19 15:56:27 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-23 18:25:50 (GMT) |
commit | fd00f7c1034391efa55bf87235a933fd76975af9 (patch) | |
tree | 4338a5c8d2c365f4b2b27499ee6cbabc27cb9da0 /drivers/scsi/pm8001/pm8001_hwi.h | |
parent | c6f5c93098f5577210f8f3ea22209b3f266c66af (diff) | |
download | linux-fd00f7c1034391efa55bf87235a933fd76975af9.tar.xz |
[SCSI] pm8001: fix endian issue with code optimization.
Data type of the 'tag' field of 'fw_flash_Update_resp' should be __le32.
Data type of 'pHeader' should be __le32. Remove 2nd cast to 'piomb'.
Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Acked-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
-rw-r--r-- | drivers/scsi/pm8001/pm8001_hwi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h index 1a4611e..d437309 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.h +++ b/drivers/scsi/pm8001/pm8001_hwi.h @@ -599,7 +599,7 @@ struct fw_flash_Update_req { * */ struct fw_flash_Update_resp { - dma_addr_t tag; + __le32 tag; __le32 status; u32 reserved[13]; } __attribute__((packed, aligned(4))); |