[SCSI] be2iscsi: SGE Len == 64K
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Wed, 6 Oct 2010 18:16:47 +0000 (23:46 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 11 Oct 2010 22:43:59 +0000 (17:43 -0500)
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>
drivers/scsi/be2iscsi/be_main.c

index 8220bde..75a85aa 100644 (file)
@@ -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;