linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:master 22/22] arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt'
@ 2018-11-14 15:00 kbuild test robot
  2018-11-14 15:12 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-11-14 15:00 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]

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 <bp@suse.de>
:::::: CC: Borislav Petkov <bp@suse.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26212 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tip:master 22/22] arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt'
  2018-11-14 15:00 [tip:master 22/22] arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt' kbuild test robot
@ 2018-11-14 15:12 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2018-11-14 15:12 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-14 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 15:00 [tip:master 22/22] arch/x86//kernel/cpu/mcheck/therm_throt.c:394:39: error: conflicting types for 'smp_thermal_interrupt' kbuild test robot
2018-11-14 15:12 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).