x86/mce: Add a default case to the switch in __mcheck_cpu_ancient_init()
authorBorislav Petkov <bp@suse.de>
Fri, 30 Oct 2015 12:11:38 +0000 (13:11 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 1 Nov 2015 10:26:14 +0000 (11:26 +0100)
commitdc34bdd2367fd31744ee3ba1de1b1cc0fa2ce193
treed8073f191fcbd22706e959f374b822597d0563af
parentc7f54d21fb02e90042e6233b46716dcb244e70e6
x86/mce: Add a default case to the switch in __mcheck_cpu_ancient_init()

Caught by building with W= which enable -Wswitch-default also.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/1446207099-24948-3-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce.c