soc: msm: qdsp6v2: fix compile warning in ion vm driver
Fix compile warning in audio ion vm driver. Change-Id: I7b60e0aedcd7ebca60b3ee67107d1c2f4d2611ac Signed-off-by: Derek Chen <chenche@codeaurora.org>
This commit is contained in:
parent
55cc722ec6
commit
ed79174927
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ static int msm_audio_ion_smmu_map(struct ion_client *client,
|
|||
mutex_unlock(&(msm_audio_ion_data.smmu_map_mutex));
|
||||
|
||||
if (cmd_rsp_size != sizeof(cmd_rsp)) {
|
||||
pr_err("%s: invalid size for cmd rsp %lu, expected %lu\n",
|
||||
pr_err("%s: invalid size for cmd rsp %u, expected %zu\n",
|
||||
__func__, cmd_rsp_size, sizeof(cmd_rsp));
|
||||
rc = -EIO;
|
||||
goto err;
|
||||
|
@ -218,7 +218,7 @@ static int msm_audio_ion_smmu_unmap(struct ion_client *client,
|
|||
}
|
||||
|
||||
if (cmd_rsp_size != sizeof(cmd_rsp)) {
|
||||
pr_err("%s: invalid size for cmd rsp %lu\n",
|
||||
pr_err("%s: invalid size for cmd rsp %u\n",
|
||||
__func__, cmd_rsp_size);
|
||||
rc = -EIO;
|
||||
goto err;
|
||||
|
|
Loading…
Add table
Reference in a new issue