diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-02-26 20:14:46 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 16:54:09 -0600 |
commit | 8270ee2abb78c73b73e04f2909b0de15540c9017 (patch) | |
tree | e5087044dd516f579309a1972dd574750badb307 /drivers/scsi/pm8001/pm8001_hwi.h | |
parent | 50ec5babd3b9da274ac3e0d5ca0c4772e3c7bc8d (diff) | |
download | linux-8270ee2abb78c73b73e04f2909b0de15540c9017.tar.gz linux-8270ee2abb78c73b73e04f2909b0de15540c9017.tar.bz2 linux-8270ee2abb78c73b73e04f2909b0de15540c9017.zip |
[SCSI] pm8001: fix endian issue with code optimization.
1. Fix endian issue.
2. Fix the following warning :
" drivers/scsi/pm8001/pm8001_hwi.c:2932:32: warning: comparison
between ‘enum sas_device_type’ and ‘enum sas_dev_type’".
3. Few code optimization.
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 909132041c07..1a4611eb0321 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.h +++ b/drivers/scsi/pm8001/pm8001_hwi.h @@ -625,7 +625,7 @@ struct set_nvm_data_req { __le32 tag; __le32 len_ir_vpdd; __le32 vpd_offset; - u32 reserved[8]; + __le32 reserved[8]; __le32 resp_addr_lo; __le32 resp_addr_hi; __le32 resp_len; |