summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-02-26 20:14:46 +0530
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 16:54:09 -0600
commit8270ee2abb78c73b73e04f2909b0de15540c9017 (patch)
treee5087044dd516f579309a1972dd574750badb307 /drivers/scsi/pm8001/pm8001_hwi.h
parent50ec5babd3b9da274ac3e0d5ca0c4772e3c7bc8d (diff)
downloadop-kernel-dev-8270ee2abb78c73b73e04f2909b0de15540c9017.zip
op-kernel-dev-8270ee2abb78c73b73e04f2909b0de15540c9017.tar.gz
[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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h
index 9091320..1a4611e 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;
OpenPOWER on IntegriCloud