Re: [PATCH] iommu: Fix compiler warning on pr_debug

From: Joerg Roedel
Date: Sun Jun 23 2013 - 07:50:01 EST


On Fri, Jun 21, 2013 at 09:33:50AM -0600, Alex Williamson wrote:
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
> drivers/iommu/iommu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
> index 4b0b56b..ab1fa19 100644
> --- a/drivers/iommu/iommu.c
> +++ b/drivers/iommu/iommu.c
> @@ -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)

Applied to core branch, thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/