iommu: Fix compiler warning on pr_debug
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Jun 2013 15:33:50 +0000 (09:33 -0600)
committerJoerg Roedel <joro@8bytes.org>
Sun, 23 Jun 2013 11:48:10 +0000 (13:48 +0200)
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/iommu.c

index 4b0b56b..ab1fa19 100644 (file)
@@ -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)