]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] pm8001: fix endian issue with code optimization.
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Mon, 19 Mar 2012 15:56:27 +0000 (21:26 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 23 Apr 2012 18:25:50 +0000 (19:25 +0100)
commit64aaa7fbf1f6f3f8a9acbf42c8b90f35dbc8dce8
tree4338a5c8d2c365f4b2b27499ee6cbabc27cb9da0
parent8bb96c143417f96c832e2b9755517c7ae551ff95
[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>
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm8001_hwi.h