summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>2010-10-06 22:16:47 +0400
committerJames Bottomley <James.Bottomley@suse.de>2010-10-12 02:43:59 +0400
commit58ff4bd042adf8013c8f70fd03c2c0f8d022e387 (patch)
tree3b0eec4ad3e79b267825ba66be48f3f7b128cc08
parentaf4c609c0d645f196b570c58dd4ee878ff3afd24 (diff)
downloadlinux-58ff4bd042adf8013c8f70fd03c2c0f8d022e387.tar.xz
[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,
unsigned int num_sg, struct beiscsi_io_task *io_task)
{
struct iscsi_sge *psgl;
- unsigned short sg_len, index;
+ unsigned int sg_len, index;
unsigned int sge_len = 0;
unsigned long long addr;
struct scatterlist *l_sg;