Skip to content

Commit

Permalink
iommu: Fix compiler warning on pr_debug
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
  • Loading branch information
Alex Williamson authored and Joerg Roedel committed Jun 23, 2013
1 parent bd13969 commit c6a8af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c6a8af5

Please sign in to comment.