lkml.org 
[lkml]   [2018]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:master 22/22] arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt'
On Wed, Nov 14, 2018 at 11:00:52PM +0800, kbuild test robot wrote:
> 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

Already fixed:

https://git.kernel.org/tip/68b5e4326e4b8ac9080835005d8254fed0fb3c56

Thx.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

\
 
 \ /
  Last update: 2018-11-14 16:13    [W:0.039 / U:37.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site