summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-06-21 09:33:50 -0600
committerJoerg Roedel <joro@8bytes.org>2013-06-23 13:48:10 +0200
commitc6a8af50b89e78f7f429f6189d9db82215cc8873 (patch)
tree4ed7b93072a32ff14ec3e58551ad14396d84eb43 /drivers/iommu
parentbd13969b952491149e641d3dab24fa59b98f82e9 (diff)
downloadlinux-c6a8af50b89e78f7f429f6189d9db82215cc8873.tar.bz2
iommu: Fix compiler warning on pr_debug
Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommu.c2
1 files changed, 1 insertions, 1 deletions
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)