summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>2010-10-06 23:46:47 +0530
committerJames Bottomley <James.Bottomley@suse.de>2010-10-11 17:43:59 -0500
commit58ff4bd042adf8013c8f70fd03c2c0f8d022e387 (patch)
tree3b0eec4ad3e79b267825ba66be48f3f7b128cc08 /drivers/scsi/be2iscsi
parentaf4c609c0d645f196b570c58dd4ee878ff3afd24 (diff)
downloadop-kernel-dev-58ff4bd042adf8013c8f70fd03c2c0f8d022e387.zip
op-kernel-dev-58ff4bd042adf8013c8f70fd03c2c0f8d022e387.tar.gz
[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 8220bde..75a85aa 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;
OpenPOWER on IntegriCloud