Skip to content

Commit 5f1ec1f

Browse files
KAGA-KOKOsuryasaimadhu
authored andcommitted
x86/traps: Fix #DE Oops message regression
The conversion of #DE to the idtentry mechanism introduced a change in the Ooops message which confuses tools which parse crash information in dmesg. Remove the underscore from 'divide_error' to restore previous behaviour. Fixes: 9d06c40 ("x86/entry: Convert Divide Error to IDTENTRY") Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/CACT4Y+bTZFkuZd7+bPArowOv-7Die+WZpfOWnEO_Wgs3U59+oA@mail.gmail.com
1 parent 8b6591f commit 5f1ec1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ static __always_inline void __user *error_get_trap_addr(struct pt_regs *regs)
195195

196196
DEFINE_IDTENTRY(exc_divide_error)
197197
{
198-
do_error_trap(regs, 0, "divide_error", X86_TRAP_DE, SIGFPE,
198+
do_error_trap(regs, 0, "divide error", X86_TRAP_DE, SIGFPE,
199199
FPE_INTDIV, error_get_trap_addr(regs));
200200
}
201201

0 commit comments

Comments
 (0)