From a38bc98112ea61c3d0e86db7c3bc58f1bbf54dc2 Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Tue, 23 Nov 2021 10:40:20 +0000 Subject: [PATCH] ANDROID: arm64: process: Match upstream formatting when dumping memory areas When looking into running memory, functions are usually represented with their names followed by an offset. Bug: 178379135 Fixes: 081513b5f5f79 ("ANDROID: arm64: process: dump memory around registers when displaying regs") Signed-off-by: Lee Jones Change-Id: If24ef9040ce471d43534e20b9a08bdcd9321e437 (cherry picked from commit df8b534e51541e55a1b1f0009ebcbb6a49f34b18) --- arch/arm64/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index aa6b51d3d0ef..8008b25ffa9e 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -186,7 +186,7 @@ static void show_data(unsigned long addr, int nbytes, const char *name) if (addr < PAGE_OFFSET || addr > -256UL) return; - printk("\n%s: %#lx:\n", name, addr); + printk("\n%s: %pS:\n", name, addr); /* * round address down to a 32 bit boundary -- 2.20.1