]> git.baikalelectronics.ru Git - kernel.git/commit
x86/apic/32: Fix yet another implicit fallthrough warning
authorBorislav Petkov <bp@suse.de>
Sun, 11 Aug 2019 15:40:36 +0000 (17:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 12 Aug 2019 18:35:04 +0000 (20:35 +0200)
commitfe27cdca3838747557d37cc989608181135ae2ca
tree012fee871f04356e5f3a9d07021aded1de277608
parent51703b71b8114eda6285fbcb5bd808240bef8109
x86/apic/32: Fix yet another implicit fallthrough warning

Fix

  arch/x86/kernel/apic/probe_32.c: In function ‘default_setup_apic_routing’:
  arch/x86/kernel/apic/probe_32.c:146:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
      if (!APIC_XAPIC(version)) {
         ^
  arch/x86/kernel/apic/probe_32.c:151:3: note: here
   case X86_VENDOR_HYGON:
   ^~~~

for 32-bit builds.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190811154036.29805-1-bp@alien8.de
arch/x86/kernel/apic/probe_32.c