On Wed, Oct 04, 2017 at 05:54:25PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Adjust sanity-check WARN to make sure > the triggering timer matches the current CPU timer. > > Cc: Tony Luck <tony.l...@intel.com> > Cc: Borislav Petkov <b...@alien8.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: "H. Peter Anvin" <h...@zytor.com> > Cc: x...@kernel.org > Cc: linux-e...@vger.kernel.org > Cc: Thomas Gleixner <t...@linutronix.de> > Signed-off-by: Kees Cook <keesc...@chromium.org> > --- > This requires commit 686fef928bba ("timer: Prepare to change timer > callback argument type") in v4.14-rc3, but should be otherwise > stand-alone. > --- > arch/x86/kernel/cpu/mcheck/mce.c | 13 +++++-------- > 1 file changed, 5 insertions(+), 8 deletions(-)
Reviewed-by: Borislav Petkov <b...@suse.de> -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.