The %pa format specifier already includes the 0x prefix. Remove the
redundant prefixes to avoid printing 0x0x.

Fixes: 178dd2ee2b72 ("powerpc/64s/hash: Fix phys_addr_t printf format in 
htab_initialize()")
Signed-off-by: Thorsten Blum <[email protected]>
---
 arch/powerpc/mm/book3s64/hash_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/mm/book3s64/hash_utils.c 
b/arch/powerpc/mm/book3s64/hash_utils.c
index e4fcf929cb33..555d79ba18cc 100644
--- a/arch/powerpc/mm/book3s64/hash_utils.c
+++ b/arch/powerpc/mm/book3s64/hash_utils.c
@@ -1405,8 +1405,8 @@ static void __init htab_initialize(void)
                size = end - base;
                base = (unsigned long)__va(base);
 
-               pr_debug("creating mapping for region: 0x%pa..0x%pa (prot: 
%lx)\n",
-                               &base, &size, prot);
+               pr_debug("creating mapping for region: %pa..%pa (prot: %lx)\n",
+                        &base, &size, prot);
 
                if ((base + size) >= H_VMALLOC_START) {
                        pr_warn("Outside the supported range\n");

Reply via email to