提交 c6a8af50 编写于 作者: A Alex Williamson 提交者: Joerg Roedel

iommu: Fix compiler warning on pr_debug

Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
Signed-off-by: NJoerg Roedel <joro@8bytes.org>
上级 bd13969b
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册