tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master head: 449637df6faa8cd9a7f9cdf25589445f0dab2371 commit: 449637df6faa8cd9a7f9cdf25589445f0dab2371 [22/22] Merge branch 'x86/cleanups' config: x86_64-lkp (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 449637df6faa8cd9a7f9cdf25589445f0dab2371 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt' asmlinkage __visible void __irq_entry smp_thermal_interrupt(void) ^~~~~~~~~~~~~~~~~~~~~ In file included from arch/x86//kernel/cpu/mcheck/therm_throt.c:28:0: arch/x86/include/asm/traps.h:107:17: note: previous declaration of 'smp_thermal_interrupt' was here asmlinkage void smp_thermal_interrupt(struct pt_regs *regs); ^~~~~~~~~~~~~~~~~~~~~ vim +/smp_thermal_interrupt +394 arch/x86//kernel/cpu/mcheck/therm_throt.c a65c88dd Hidetoshi Seto 2009-06-15 393 d813dfb2 Borislav Petkov 2018-11-09 @394 asmlinkage __visible void __irq_entry smp_thermal_interrupt(void) cf910e83 Seiji Aguchi 2013-06-20 395 { cf910e83 Seiji Aguchi 2013-06-20 396 entering_irq(); cf910e83 Seiji Aguchi 2013-06-20 397 trace_thermal_apic_entry(THERMAL_APIC_VECTOR); 0f42ae28 Thomas Gleixner 2017-08-28 398 inc_irq_stat(irq_thermal_count); 0f42ae28 Thomas Gleixner 2017-08-28 399 smp_thermal_vector(); cf910e83 Seiji Aguchi 2013-06-20 400 trace_thermal_apic_exit(THERMAL_APIC_VECTOR); cf910e83 Seiji Aguchi 2013-06-20 401 exiting_ack_irq(); cf910e83 Seiji Aguchi 2013-06-20 402 } cf910e83 Seiji Aguchi 2013-06-20 403 :::::: The code at line 394 was first introduced by commit :::::: d813dfb28641306f66cf1e2c3586f39ab4f84b27 x86/mce: Fix -Wmissing-prototypes warnings :::::: TO: Borislav Petkov :::::: CC: Borislav Petkov --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation