diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2014-08-08 00:59:58 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 12:09:45 -0400 |
commit | 39033413e22aa64944baf21b29e134d52be67038 (patch) | |
tree | 421f8af761fba9dc6805df8e281fbcb6efcf8fcf /drivers/scsi/be2iscsi | |
parent | fc3850458c176a3cf925771ec822f9537d1dbbc6 (diff) |
be2iscsi: Fix the sparse warning introduced in previous submission
commit 73af08e11c6638e2abd6b1fa13cdab58c2bbdbf8
Author: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Date: Mon May 5 21:41:26 2014 -0400
be2iscsi: Fix interrupt Coalescing mechanism.
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be_cmds.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.h b/drivers/scsi/be2iscsi/be_cmds.h index cc7405c0eca0..4e8cb61b3685 100644 --- a/drivers/scsi/be2iscsi/be_cmds.h +++ b/drivers/scsi/be2iscsi/be_cmds.h | |||
@@ -26,9 +26,9 @@ | |||
26 | * The commands are serviced by the ARM processor in the OneConnect's MPU. | 26 | * The commands are serviced by the ARM processor in the OneConnect's MPU. |
27 | */ | 27 | */ |
28 | struct be_sge { | 28 | struct be_sge { |
29 | u32 pa_lo; | 29 | __le32 pa_lo; |
30 | u32 pa_hi; | 30 | __le32 pa_hi; |
31 | u32 len; | 31 | __le32 len; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | #define MCC_WRB_SGE_CNT_SHIFT 3 /* bits 3 - 7 of dword 0 */ | 34 | #define MCC_WRB_SGE_CNT_SHIFT 3 /* bits 3 - 7 of dword 0 */ |
@@ -624,11 +624,11 @@ static inline struct be_sge *nonembedded_sgl(struct be_mcc_wrb *wrb) | |||
624 | /******************** Modify EQ Delay *******************/ | 624 | /******************** Modify EQ Delay *******************/ |
625 | struct be_cmd_req_modify_eq_delay { | 625 | struct be_cmd_req_modify_eq_delay { |
626 | struct be_cmd_req_hdr hdr; | 626 | struct be_cmd_req_hdr hdr; |
627 | u32 num_eq; | 627 | __le32 num_eq; |
628 | struct { | 628 | struct { |
629 | u32 eq_id; | 629 | __le32 eq_id; |
630 | u32 phase; | 630 | __le32 phase; |
631 | u32 delay_multiplier; | 631 | __le32 delay_multiplier; |
632 | } delay[MAX_CPUS]; | 632 | } delay[MAX_CPUS]; |
633 | } __packed; | 633 | } __packed; |
634 | 634 | ||