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: Subhash Jadavani <subhashj@codeaurora.org>
This commit is contained in:
Subhash Jadavani 2015-06-18 16:04:07 -07:00 committed by David Keitel
parent 02859e118b
commit 289b6c51a1

View file

@ -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);