linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iommu: Fix compiler warning on pr_debug
@ 2013-06-21 15:33 Alex Williamson
  2013-06-23 11:49 ` Joerg Roedel
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Williamson @ 2013-06-21 15:33 UTC (permalink / raw)
  To: joro; +Cc: iommu, linux-kernel

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
 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)


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-24 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 15:33 [PATCH] iommu: Fix compiler warning on pr_debug Alex Williamson
2013-06-23 11:49 ` Joerg Roedel
2013-06-23 17:43   ` [PATCH] iommu: Use %zx instead %lx and cast to unsigned long Joe Perches
2013-06-23 19:14     ` Geert Uytterhoeven
2013-06-23 19:29       ` [PATCH V2] iommu: Use %pa and %zx instead of casting Joe Perches
2013-06-23 19:38         ` Geert Uytterhoeven
2013-06-24 10:32         ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).