summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>2010-10-06 20:16:47 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-10-12 00:43:59 +0200
commit58ff4bd042adf8013c8f70fd03c2c0f8d022e387 (patch)
tree3b0eec4ad3e79b267825ba66be48f3f7b128cc08 /drivers/scsi/be2iscsi
parent[SCSI] be2iscsi: Remove premature free of cid (diff)
downloadlinux-58ff4bd042adf8013c8f70fd03c2c0f8d022e387.tar.xz
linux-58ff4bd042adf8013c8f70fd03c2c0f8d022e387.zip
[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>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-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;