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>] [day] [month] [year] [list]
Message-ID: <201709070707.y5gW4X20%fengguang.wu@intel.com>
Date:   Thu, 7 Sep 2017 07:53:12 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.x86/apic 13/31] arch/x86//kernel/apic/bigsmp_32.c:160:24:
 error: initialization from incompatible pointer type

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/apic
head:   e63fe793b642a9df7e7a910c83619dce589a9e26
commit: ae1f66ab939b10d4a5a4369cc72d9fadce2499e7 [13/31] x86/apic: Reorganize struct apic
config: i386-randconfig-x001-201736 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout ae1f66ab939b10d4a5a4369cc72d9fadce2499e7
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> arch/x86//kernel/apic/bigsmp_32.c:160:24: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .check_apicid_used  = bigsmp_check_apicid_used,
                           ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86//kernel/apic/bigsmp_32.c:160:24: note: (near initialization for 'apic_bigsmp.check_apicid_used')
   cc1: some warnings being treated as errors

vim +160 arch/x86//kernel/apic/bigsmp_32.c

d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  146  
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  147  	.name				= "bigsmp",
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  148  	.probe				= probe_bigsmp,
306db03b0 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  149  	.acpi_madt_oem_check		= NULL,
fa63030e9 arch/x86/kernel/apic/bigsmp_32.c Daniel J Blueman   2012-03-14  150  	.apic_id_valid			= default_apic_id_valid,
7ed248daa arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  151  	.apic_id_registered		= bigsmp_apic_id_registered,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  152  
d8a3539e6 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  153  	.irq_delivery_mode		= dest_Fixed,
d8a3539e6 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  154  	/* phys delivery to target CPU: */
d8a3539e6 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  155  	.irq_dest_mode			= 0,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  156  
bf721d3a3 arch/x86/kernel/apic/bigsmp_32.c Alexander Gordeev  2012-06-05  157  	.target_cpus			= default_target_cpus,
08125d3ed arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  158  	.disable_esr			= 1,
bdb1a9b62 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  159  	.dest_logical			= 0,
d1d7cae8f arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28 @160  	.check_apicid_used		= bigsmp_check_apicid_used,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  161  
9d8e10667 arch/x86/kernel/apic/bigsmp_32.c Alexander Gordeev  2012-06-07  162  	.vector_allocation_domain	= default_vector_allocation_domain,
a5c432962 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  163  	.init_apic_ldr			= bigsmp_init_apic_ldr,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  164  
d190cb87c arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  165  	.ioapic_phys_id_map		= bigsmp_ioapic_phys_id_map,
72ce01658 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  166  	.setup_apic_routing		= bigsmp_setup_apic_routing,
a21769a44 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  167  	.cpu_present_to_apicid		= bigsmp_cpu_present_to_apicid,
7abc07531 arch/x86/kernel/apic/bigsmp_32.c Cyrill Gorcunov    2009-11-10  168  	.apicid_to_cpu_present		= physid_set_mask_of_physid,
a27a62100 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  169  	.check_phys_apicid_present	= bigsmp_check_phys_apicid_present,
cb8cc442d arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  170  	.phys_pkg_id			= bigsmp_phys_pkg_id,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  171  
ca6c8ed46 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  172  	.get_apic_id			= bigsmp_get_apic_id,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  173  	.set_apic_id			= NULL,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  174  
91cd9cb7e arch/x86/kernel/apic/bigsmp_32.c Thomas Gleixner    2017-06-20  175  	.cpu_mask_to_apicid		= default_cpu_mask_to_apicid,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  176  
5789a12e2 arch/x86/kernel/apic/bigsmp_32.c Thomas Gleixner    2015-11-04  177  	.send_IPI			= default_send_IPI_single_phys,
500bd02fb arch/x86/kernel/apic/bigsmp_32.c Thomas Gleixner    2015-11-04  178  	.send_IPI_mask			= default_send_IPI_mask_sequence_phys,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  179  	.send_IPI_mask_allbutself	= NULL,
dac5f4121 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  180  	.send_IPI_allbutself		= bigsmp_send_IPI_allbutself,
dac5f4121 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  181  	.send_IPI_all			= bigsmp_send_IPI_all,
6b64ee02d arch/x86/kernel/bigsmp_32.c      Ingo Molnar        2009-01-30  182  	.send_IPI_self			= default_send_IPI_self,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  183  
25dc00490 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  184  	.inquire_remote_apic		= default_inquire_remote_apic,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  185  
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  186  	.read				= native_apic_mem_read,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  187  	.write				= native_apic_mem_write,
2a43195d8 arch/x86/kernel/apic/bigsmp_32.c Michael S. Tsirkin 2012-05-16  188  	.eoi_write			= native_apic_mem_write,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  189  	.icr_read			= native_apic_icr_read,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  190  	.icr_write			= native_apic_icr_write,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  191  	.wait_icr_idle			= native_apic_wait_icr_idle,
c1eeb2de4 arch/x86/kernel/bigsmp_32.c      Yinghai Lu         2009-02-16  192  	.safe_wait_icr_idle		= native_safe_apic_wait_icr_idle,
acb8bc09c arch/x86/kernel/apic/bigsmp_32.c Tejun Heo          2011-01-23  193  
12bf24a47 arch/x86/kernel/apic/bigsmp_32.c Tejun Heo          2011-01-23  194  	.x86_32_early_logical_apicid	= bigsmp_early_logical_apicid,
d26b6d666 arch/x86/mach-generic/bigsmp.c   Ingo Molnar        2009-01-28  195  };
107e0e0cd arch/x86/kernel/apic/bigsmp_32.c Suresh Siddha      2011-05-20  196  

:::::: The code at line 160 was first introduced by commit
:::::: d1d7cae8fd54a301a0de531b48451649933ffdcf x86, apic: clean up check_apicid*() callbacks

:::::: TO: Ingo Molnar <mingo@...e.hu>
:::::: CC: Ingo Molnar <mingo@...e.hu>

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

Download attachment ".config.gz" of type "application/gzip" (23118 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ