]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/nmi: Fix timeout test in test_nmi_ipi()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Jun 2017 10:53:04 +0000 (13:53 +0300)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:52:43 +0000 (12:52 +0200)
commitc133c7615751008f6c32ccae7cdfc5ff6e989c35
tree398b68e505936869dd5f79d74e6f68e2798d5d0e
parent9705596d08ac87c18aee32cc97f2783b7d14624e
x86/nmi: Fix timeout test in test_nmi_ipi()

We're supposed to exit the loop with "timeout" set to zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-janitors@vger.kernel.org
Fixes: 99e8b9ca90d6 ("x86, NMI: Add NMI IPI selftest")
Link: http://lkml.kernel.org/r/20170619105304.GA23995@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/nmi_selftest.c