From: Harvey Harrison Date: Wed, 30 Jan 2008 12:33:16 +0000 (+0100) Subject: x86: unify printk strings in fault_32|64.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=edcd81199dbad5db11ae91b507cec1d46dd94a49;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86: unify printk strings in fault_32|64.c Adding the address of the faulting library missed removing a line ending from X86_32. Also update the shorter printk format for X86_32 in fault_64.c to make it easier to se the remaining differences. Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c index 71c722bb6963..13d295506a17 100644 --- a/arch/x86/mm/fault_32.c +++ b/arch/x86/mm/fault_32.c @@ -512,7 +512,7 @@ bad_area_nosemaphore: printk_ratelimit()) { printk( #ifdef CONFIG_X86_32 - "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx\n", + "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx", #else "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", #endif diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c index 75b7b165bdf3..b606bdefbb72 100644 --- a/arch/x86/mm/fault_64.c +++ b/arch/x86/mm/fault_64.c @@ -550,7 +550,7 @@ bad_area_nosemaphore: printk_ratelimit()) { printk( #ifdef CONFIG_X86_32 - "%s%s[%d]: segfault at %08lx ip %08lx sp %08lx error %lx\n", + "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx", #else "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", #endif