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

Commit 6557b3af authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

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



It seems arguments passed to memset function are swapped, this change
fixes it.

Change-Id: I1f69d528da9030a2bc061d3c9504058d8b71068b
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent dafdc45a
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);