mirror of https://gitee.com/openkylin/linux.git
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:
parent
bd13969b95
commit
c6a8af50b8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue