Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2093af3d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs-qcom-ice: fix incorrect use of memset"

parents 7ace79ab 6557b3af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ int ufs_qcom_ice_cfg(struct ufs_qcom_host *qcom_host, struct scsi_cmnd *cmd)
		return -EINVAL;
	}

	memset(&ice_set, sizeof(ice_set), 0);
	memset(&ice_set, 0, sizeof(ice_set));
	if (qcom_host->ice.vops->config) {
		err = qcom_host->ice.vops->config(qcom_host->ice.pdev,
							req, &ice_set);