lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 14 Nov 2018 16:12:29 +0100
From:   Borislav Petkov <bp@...e.de>
To:     kbuild test robot <lkp@...el.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        tipbuild@...or.com, Ingo Molnar <mingo@...nel.org>
Subject: Re: [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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ