iommu: arm-smmu: Fix compile warnings
Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled: drivers/iommu/arm-smmu.c:1417: format '%p' expects argument of type 'void *', but argument 3 has type 'u64 {aka long long unsigned int}' [-Werror=format=] dev_err(smmu->dev, "PAR = 0x%pK\n", drivers/iommu/arm-smmu.c:1437: format '%p' expects argument of type 'void *', but argument 3 has type 'u32 {aka unsigned int}' [-Werror=format=] dev_err(smmu->dev, "TTBR0 = 0x%pK\n", drivers/iommu/arm-smmu.c:1439: format '%p' expects argument of type 'void *', but argument 3 has type 'u32 {aka unsigned int}' [-Werror=format=] dev_err(smmu->dev, "TTBR1 = 0x%pK\n", drivers/iommu/arm-smmu.c:1442: format '%p' expects argument of type 'void *', but argument 3 has type 'u64 {aka long long unsigned int}' [-Werror=format=] dev_err(smmu->dev, "TTBR0 = 0x%pK\n", drivers/iommu/arm-smmu.c:1445: format '%p' expects argument of type 'void *', but argument 3 has type 'u64 {aka long long unsigned int}' [-Werror=format=] dev_err(smmu->dev, "TTBR1 = 0x%pK\n", Fixes: 9d4b7d64 ("iommu: arm-smmu: Merge for msm-kona kernel upgrade") Change-Id: Ic0dedbadc5aab73cca3aac6b27bb40cd218e2e22 Signed-off-by:Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment