aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/csiostor/t4fw_api_stor.h
diff options
context:
space:
mode:
authorNaresh Kumar Inna <naresh@chelsio.com>2012-11-20 18:15:40 +0530
committerJames Bottomley <JBottomley@Parallels.com>2012-11-30 15:32:10 +0000
commit5036f0a0ecd31fc94360a944b352d082e1182b04 (patch)
tree98d5b957f1cd88b70b4965cf7dc16dc7862d0e42 /drivers/scsi/csiostor/t4fw_api_stor.h
parent68d91cbd5267e15a7c6da1415a1c65a9506aed96 (diff)
[SCSI] csiostor: Fix sparse warnings.
This patch fixes sparse warnings related to endian-ness, which were reported by the 0-day kernel build and testing tool. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Naresh Kumar Inna <naresh@chelsio.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/csiostor/t4fw_api_stor.h')
-rw-r--r--drivers/scsi/csiostor/t4fw_api_stor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/csiostor/t4fw_api_stor.h b/drivers/scsi/csiostor/t4fw_api_stor.h
index b96903a24e6..1223e0d5fc0 100644
--- a/drivers/scsi/csiostor/t4fw_api_stor.h
+++ b/drivers/scsi/csiostor/t4fw_api_stor.h
@@ -221,7 +221,7 @@ struct fw_rdev_wr {
struct fw_fcoe_els_ct_wr {
__be32 op_immdlen;
__be32 flowid_len16;
- __be64 cookie;
+ u64 cookie;
__be16 iqid;
u8 tmo_val;
u8 els_ct_type;
@@ -246,7 +246,7 @@ struct fw_fcoe_els_ct_wr {
struct fw_scsi_write_wr {
__be32 op_immdlen;
__be32 flowid_len16;
- __be64 cookie;
+ u64 cookie;
__be16 iqid;
u8 tmo_val;
u8 use_xfer_cnt;
@@ -272,7 +272,7 @@ struct fw_scsi_write_wr {
struct fw_scsi_read_wr {
__be32 op_immdlen;
__be32 flowid_len16;
- __be64 cookie;
+ u64 cookie;
__be16 iqid;
u8 tmo_val;
u8 use_xfer_cnt;
@@ -298,7 +298,7 @@ struct fw_scsi_read_wr {
struct fw_scsi_cmd_wr {
__be32 op_immdlen;
__be32 flowid_len16;
- __be64 cookie;
+ u64 cookie;
__be16 iqid;
u8 tmo_val;
u8 r3;
@@ -326,12 +326,12 @@ struct fw_scsi_cmd_wr {
struct fw_scsi_abrt_cls_wr {
__be32 op_immdlen;
__be32 flowid_len16;
- __be64 cookie;
+ u64 cookie;
__be16 iqid;
u8 tmo_val;
u8 sub_opcode_to_chk_all_io;
u8 r3[4];
- __be64 t_cookie;
+ u64 t_cookie;
};
#define FW_SCSI_ABRT_CLS_WR_SUB_OPCODE(x) ((x) << 2)