Commit 02b67325 authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by Linus Torvalds

x86_64: fix default_do_nmi() missing return after an if ()

Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent de560374
...@@ -778,6 +778,7 @@ asmlinkage __kprobes void default_do_nmi(struct pt_regs *regs) ...@@ -778,6 +778,7 @@ asmlinkage __kprobes void default_do_nmi(struct pt_regs *regs)
return; return;
if (notify_die(DIE_NMI_POST, "nmi_post", regs, reason, 2, 0) if (notify_die(DIE_NMI_POST, "nmi_post", regs, reason, 2, 0)
== NOTIFY_STOP) == NOTIFY_STOP)
return;
if (!do_nmi_callback(regs,cpu)) if (!do_nmi_callback(regs,cpu))
unknown_nmi_error(reason, regs); unknown_nmi_error(reason, regs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment