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:
parent
02859e118b
commit
289b6c51a1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue