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

Commit 1d94f773 authored by Gidon Studinski's avatar Gidon Studinski
Browse files

msm: ipa: fix 64 bit errors in printf format strings



Fix printf format strings that compile for 64 bit kernel but fail to
compile for 32 bit kernel.

Change-Id: Ic9819c14b9cb4a6afc0408aa8f8150b43a5f7369
Signed-off-by: default avatarGidon Studinski <gidons@codeaurora.org>
parent f3d8d106
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ static int ipa_create_uc_smmu_mapping_pa(phys_addr_t pa, size_t len,
			true_len,
			device ? (prot | IOMMU_DEVICE) : prot);
	if (ret) {
		IPAERR("iommu map failed for pa=%pa len=%lu\n", &pa, true_len);
		IPAERR("iommu map failed for pa=%pa len=%zu\n", &pa, true_len);
		return -EINVAL;
	}

@@ -526,7 +526,7 @@ static int ipa_create_uc_smmu_mapping_sgt(struct sg_table *sgt,

		ret = iommu_map(cb->mapping->domain, va, phys, len, prot);
		if (ret) {
			IPAERR("iommu map failed for pa=%pa len=%lu\n",
			IPAERR("iommu map failed for pa=%pa len=%zu\n",
					&phys, len);
			goto bad_mapping;
		}