[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 8220bde6c04c6f5aebae94e74b3c7ffd72f16d57..75a85aa9e8823b0f5033d2499d2f194f4cd38367 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;