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

Commit ed791749 authored by Derek Chen's avatar Derek Chen Committed by Gerrit - the friendly Code Review server
Browse files

soc: msm: qdsp6v2: fix compile warning in ion vm driver



Fix compile warning in audio ion vm driver.

Change-Id: I7b60e0aedcd7ebca60b3ee67107d1c2f4d2611ac
Signed-off-by: default avatarDerek Chen <chenche@codeaurora.org>
parent 55cc722e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;