Use %pS for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pF expects a function descriptor.  Even on
other architectures, refrain from setting a bad example that people
copy.

Signed-off-by: Scott Wood <[email protected]>
Cc: Michal Simek <[email protected]>
---
 arch/microblaze/mm/pgtable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/microblaze/mm/pgtable.c b/arch/microblaze/mm/pgtable.c
index 4f4520e..8a8f1cd 100644
--- a/arch/microblaze/mm/pgtable.c
+++ b/arch/microblaze/mm/pgtable.c
@@ -74,7 +74,7 @@ static void __iomem *__ioremap(phys_addr_t addr, unsigned 
long size,
                p >= memory_start && p < virt_to_phys(high_memory) &&
                !(p >= __virt_to_phys((phys_addr_t)__bss_stop) &&
                p < __virt_to_phys((phys_addr_t)__bss_stop))) {
-               pr_warn("__ioremap(): phys addr "PTE_FMT" is RAM lr %pf\n",
+               pr_warn("__ioremap(): phys addr "PTE_FMT" is RAM lr %ps\n",
                        (unsigned long)p, __builtin_return_address(0));
                return NULL;
        }
-- 
2.1.0

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

Reply via email to