summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-07-24 14:13:43 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2015-07-24 14:35:33 (GMT)
commit8a0a5da6d9cbf1b142115ff6e6b253a82633c3d9 (patch)
tree6e53c759caf11a6745eeac6343c044fdc17ab59b
parent8c38de992be9aed0b34c4fab8f972c83d3b00dc4 (diff)
downloadlinux-8a0a5da6d9cbf1b142115ff6e6b253a82633c3d9.tar.xz
x86/mm: Fix newly introduced printk format warnings
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/mm/ioremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index b9d4a33..b9c78f3 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -118,8 +118,8 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr,
last_pfn = last_addr >> PAGE_SHIFT;
if (walk_system_ram_range(pfn, last_pfn - pfn + 1, NULL,
__ioremap_check_ram) == 1) {
- WARN_ONCE(1, "ioremap on RAM at 0x%llx - 0x%llx\n",
- phys_addr, last_addr);
+ WARN_ONCE(1, "ioremap on RAM at %pa - %pa\n",
+ &phys_addr, &last_addr);
return NULL;
}