aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>2010-10-06 14:16:47 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-10-11 18:43:59 -0400
commit58ff4bd042adf8013c8f70fd03c2c0f8d022e387 (patch)
tree3b0eec4ad3e79b267825ba66be48f3f7b128cc08
parentaf4c609c0d645f196b570c58dd4ee878ff3afd24 (diff)
[SCSI] be2iscsi: SGE Len == 64K
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/be2iscsi/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 8220bde6c04c..75a85aa9e882 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -2040,7 +2040,7 @@ hwi_write_sgl(struct iscsi_wrb *pwrb, struct scatterlist *sg,
2040 unsigned int num_sg, struct beiscsi_io_task *io_task) 2040 unsigned int num_sg, struct beiscsi_io_task *io_task)
2041{ 2041{
2042 struct iscsi_sge *psgl; 2042 struct iscsi_sge *psgl;
2043 unsigned short sg_len, index; 2043 unsigned int sg_len, index;
2044 unsigned int sge_len = 0; 2044 unsigned int sge_len = 0;
2045 unsigned long long addr; 2045 unsigned long long addr;
2046 struct scatterlist *l_sg; 2046 struct scatterlist *l_sg;