path: root/drivers/scsi/bnx2i/bnx2i_hwi.c
diff options
authorLinus Torvalds <torvalds@linux-foundation.org>2012-09-23 14:48:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-09-23 14:48:28 -0700
commit0bf7a7056c7b39502008feb484b95a5877cdf59d (patch)
tree9bffbc828a4e46c91f8ea8e64c5f0985597ee29e /drivers/scsi/bnx2i/bnx2i_hwi.c
parentfaa2ad09c01c48012fe4c117d3256e354e0f9238 (diff)
parent256d0eaac87da1e993190846064f339f4c7a63f5 (diff)
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley: "This is a set of four essential fixes: two oops related (bnx2i, virtio-scsi), one data corruption related (hpsa) and one failure to boot due to interrupt routing issues (mpt2ss). Signed-off-by: James Bottomley <JBottomley@Parallels.com>" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: [SCSI] hpsa: fix handling of protocol error [SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA [SCSI] bnx2i: Fixed NULL ptr deference for 1G bnx2 Linux iSCSI offload [SCSI] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_hwi.c')
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c b/drivers/scsi/bnx2i/bnx2i_hwi.c
index 33d6630529de..91eec60252ee 100644
--- a/drivers/scsi/bnx2i/bnx2i_hwi.c
+++ b/drivers/scsi/bnx2i/bnx2i_hwi.c
@@ -1264,6 +1264,9 @@ int bnx2i_send_fw_iscsi_init_msg(struct bnx2i_hba *hba)
int rc = 0;
u64 mask64;
+ memset(&iscsi_init, 0x00, sizeof(struct iscsi_kwqe_init1));
+ memset(&iscsi_init2, 0x00, sizeof(struct iscsi_kwqe_init2));
iscsi_init.flags =