Skip to contentSkip to conversation

powerpc/64s/hash: Remove redundant 0x prefixes in htab_initialize()

PATCH New Thorsten Blum 1 participant 1 message Nov 22 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/64s/hash: Remove redundant 0x prefixes in htab_initialize()

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()")
---
 arch/powerpc/mm/book3s64/hash_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/mm/book3s64/hash_utils.c +2 -2
index e4fcf929cb33..555d79ba18cc 100644
@@ -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");