From: Alex Williamson Date: Fri, 21 Jun 2013 15:33:50 +0000 (-0600) Subject: iommu: Fix compiler warning on pr_debug X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6a8af50b89e78f7f429f6189d9db82215cc8873;p=linux-beck.git iommu: Fix compiler warning on pr_debug Signed-off-by: Alex Williamson Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 4b0b56b0501d..ab1fa19ddddb 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c @@ -820,7 +820,7 @@ int iommu_map(struct iommu_domain *domain, unsigned long iova, size_t pgsize = iommu_pgsize(domain, iova | paddr, size); pr_debug("mapping: iova 0x%lx pa 0x%lx pgsize %lu\n", iova, - (unsigned long)paddr, pgsize); + (unsigned long)paddr, (unsigned long)pgsize); ret = domain->ops->map(domain, iova, paddr, pgsize, prot); if (ret)