iommu: Fix compiler warning on pr_debug

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
This commit is contained in:
Alex Williamson 2013-06-21 09:33:50 -06:00 committed by Joerg Roedel
parent bd13969b95
commit c6a8af50b8
1 changed files with 1 additions and 1 deletions

View 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)