From 2cf6889f68d95315b5b012d2e920596683a227cb 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 1f547bbc7a35..a53d81b83c4d 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -183,7 +183,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