aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 4765f47b612a..fef6f073c4ab 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -1655,7 +1655,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn,
1655 } 1655 }
1656 memcpy(pfirst_buffer + offset, 1656 memcpy(pfirst_buffer + offset,
1657 pasync_handle->pbuffer, buf_len); 1657 pasync_handle->pbuffer, buf_len);
1658 offset = buf_len; 1658 offset += buf_len;
1659 } 1659 }
1660 index++; 1660 index++;
1661 } 1661 }
@@ -1664,7 +1664,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn,
1664 (beiscsi_conn->beiscsi_conn_cid - 1664 (beiscsi_conn->beiscsi_conn_cid -
1665 phba->fw_config.iscsi_cid_start), 1665 phba->fw_config.iscsi_cid_start),
1666 phdr, hdr_len, pfirst_buffer, 1666 phdr, hdr_len, pfirst_buffer,
1667 buf_len); 1667 offset);
1668 1668
1669 if (status == 0) 1669 if (status == 0)
1670 hwi_free_async_msg(phba, cri); 1670 hwi_free_async_msg(phba, cri);