lkml.org 
[lkml]   [2015]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/4] iommu/fsl: Use %pa to print phys_addr_t
Date
From: Joerg Roedel <jroedel@suse.de>

Fix two compile warnings.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
---
drivers/iommu/fsl_pamu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
index 80ac68d..e63904b 100644
--- a/drivers/iommu/fsl_pamu.c
+++ b/drivers/iommu/fsl_pamu.c
@@ -352,7 +352,7 @@ int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size,
unsigned long fspi;

if ((win_size & (win_size - 1)) || win_size < PAMU_PAGE_SIZE) {
- pr_debug("window size too small or not a power of two %llx\n", win_size);
+ pr_debug("window size too small or not a power of two %pa\n", &win_size);
return -EINVAL;
}

@@ -1138,7 +1138,7 @@ static int __init fsl_pamu_probe(struct platform_device *pdev)

if (csd_port_id) {
dev_dbg(&pdev->dev, "creating coherency subdomain at address "
- "0x%llx, size %zu, port id 0x%08x", ppaact_phys,
+ "%pa, size %zu, port id 0x%08x", &ppaact_phys,
mem_size, csd_port_id);

ret = create_csd(ppaact_phys, mem_size, csd_port_id);
--
1.9.1


\
 
 \ /
  Last update: 2015-01-27 01:01    [W:0.065 / U:1.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site