x86/mm: Fix newly introduced printk format warnings
authorThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2015 14:13:43 +0000 (16:13 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2015 14:35:33 +0000 (16:35 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap.c

index b9d4a33017fd691f0d7e7527cdc36d17850f3d7c..b9c78f3bcd6739718def393f49d1f1cbb0e8bb5c 100644 (file)
@@ -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;
        }