aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
2040 unsigned int num_sg, struct beiscsi_io_task *io_task) 2040 unsigned int num_sg, struct beiscsi_io_task *io_task)
2041{ 2041{
2042 struct iscsi_sge *psgl; 2042 struct iscsi_sge *psgl;
2043 unsigned short sg_len, index; 2043 unsigned int sg_len, index;
2044 unsigned int sge_len = 0; 2044 unsigned int sge_len = 0;
2045 unsigned long long addr; 2045 unsigned long long addr;
2046 struct scatterlist *l_sg; 2046 struct scatterlist *l_sg;