[PATCH 2/9] x86/fault: Do not print IP in show_fault_oops()
From: Borislav Petkov
Date: Tue Mar 06 2018 - 04:49:59 EST
From: Borislav Petkov <bp@xxxxxxx>
... because __show_regs() already does that.
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index e6af2b464c3d..26865147a507 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -699,7 +699,6 @@ show_fault_oops(struct pt_regs *regs, unsigned long error_code,
printk(KERN_CONT "paging request");
printk(KERN_CONT " at %px\n", (void *) address);
- printk(KERN_ALERT "IP: %pS\n", (void *)regs->ip);
dump_pagetable(address);
}
--
2.13.0