Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-10-02 07:23:11 +0200
committerMichal Kubecek <mkubecek@suse.cz>2019-10-02 07:23:11 +0200
commitc6fad8b5b5538d3c1636b9308d651222300b56b5 (patch)
treec2095641f80a0a7572c67aa219c381fe81a3c877
parent38c7c4894e2b19a9a577291c57e16e7cb0dc04a5 (diff)
parent0133bad93fa2e2e6b4128817d665f53691ff58f7 (diff)
Merge branch 'users/mwilck/SLE15-SP2/for-next' into SLE15-SP2
Pull SCSI fix from Martin Wilck. suse-commit: e17daff334c3b2ebde0820713292b34f8aa4f330
-rw-r--r--drivers/scsi/device_handler/scsi_dh_rdac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c
index 65f1fe343c64..5efc959493ec 100644
--- a/drivers/scsi/device_handler/scsi_dh_rdac.c
+++ b/drivers/scsi/device_handler/scsi_dh_rdac.c
@@ -546,6 +546,8 @@ static void send_mode_select(struct work_struct *work)
spin_unlock(&ctlr->ms_lock);
retry:
+ memset(cdb, 0, sizeof(cdb));
+
data_size = rdac_failover_get(ctlr, &list, cdb);
RDAC_LOG(RDAC_LOG_FAILOVER, sdev, "array %s, ctlr %d, "