x86/mce: Update notifier priority check
authorBorislav Petkov <bp@suse.de>
Tue, 18 Apr 2017 07:33:28 +0000 (09:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 18 Apr 2017 08:27:52 +0000 (10:27 +0200)
commit415601b1917be0e3b53306d410be659b429241a9
treeeb4985d0b869a3ee1c398d85820b6a1f9dba80eb
parent9ea74f7c70cd5e408f1cfbda0e6836929f820d49
x86/mce: Update notifier priority check

Update the check which enforces the registration of MCE decoder notifier
callbacks with valid priority only, to include mcelog's priority.

Reported-by: kernel test robot <xiaolong.ye@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: lkp@01.org
Link: http://lkml.kernel.org/r/20170418073820.i6kl5tggcntwlisa@pd.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce.c