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

Skip to content
Commit a3e72219 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 153517d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment