Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback
       [not found] <20250430204720.108962-1-romank@linux.microsoft.com>
@ 2025-05-07 10:25 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-07 10:25 UTC (permalink / raw)
  To: Roman Kisel; +Cc: llvm, oe-kbuild-all

Hi Roman,

kernel test robot noticed the following build errors:

[auto build test ERROR on 628cc040b3a2980df6032766e8ef0688e981ab95]

url:    https://github.com/intel-lab-lkp/linux/commits/Roman-Kisel/arch-x86-Provide-the-CPU-number-in-the-wakeup-AP-callback/20250501-044909
base:   628cc040b3a2980df6032766e8ef0688e981ab95
patch link:    https://lore.kernel.org/r/20250430204720.108962-1-romank%40linux.microsoft.com
patch subject: [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250507/202505071859.8y4PxgRA-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071859.8y4PxgRA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505071859.8y4PxgRA-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/apic/apic_numachip.c:228:27: error: incompatible function pointer types initializing 'int (*)(u32, unsigned long, unsigned int)' (aka 'int (*)(unsigned int, unsigned long, unsigned int)') with an expression of type 'int (u32, unsigned long)' (aka 'int (unsigned int, unsigned long)') [-Wincompatible-function-pointer-types]
     228 |         .wakeup_secondary_cpu           = numachip_wakeup_secondary,
         |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/apic/apic_numachip.c:262:27: error: incompatible function pointer types initializing 'int (*)(u32, unsigned long, unsigned int)' (aka 'int (*)(unsigned int, unsigned long, unsigned int)') with an expression of type 'int (u32, unsigned long)' (aka 'int (unsigned int, unsigned long)') [-Wincompatible-function-pointer-types]
     262 |         .wakeup_secondary_cpu           = numachip_wakeup_secondary,
         |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +228 arch/x86/kernel/apic/apic_numachip.c

d9d4dee6cedfa1 Daniel J Blueman 2015-09-21  204  
db1003a719d75c Daniel J Blueman 2015-09-21  205  static const struct apic apic_numachip1 __refconst = {
44b111b519160e Steffen Persvold 2011-12-06  206  	.name				= "NumaConnect system",
db1003a719d75c Daniel J Blueman 2015-09-21  207  	.probe				= numachip1_probe,
db1003a719d75c Daniel J Blueman 2015-09-21  208  	.acpi_madt_oem_check		= numachip1_acpi_madt_oem_check,
44b111b519160e Steffen Persvold 2011-12-06  209  
8c44963b603db7 Thomas Gleixner  2020-10-24  210  	.dest_mode_logical		= false,
44b111b519160e Steffen Persvold 2011-12-06  211  
44b111b519160e Steffen Persvold 2011-12-06  212  	.disable_esr			= 0,
44b111b519160e Steffen Persvold 2011-12-06  213  
44b111b519160e Steffen Persvold 2011-12-06  214  	.cpu_present_to_apicid		= default_cpu_present_to_apicid,
44b111b519160e Steffen Persvold 2011-12-06  215  
d92e5e7cf580ac Thomas Gleixner  2023-08-08  216  	.max_apic_id			= UINT_MAX,
db1003a719d75c Daniel J Blueman 2015-09-21  217  	.get_apic_id			= numachip1_get_apic_id,
44b111b519160e Steffen Persvold 2011-12-06  218  
9f9e3bb1cf2ecb Thomas Gleixner  2017-09-13  219  	.calc_dest_apicid		= apic_default_calc_apicid,
44b111b519160e Steffen Persvold 2011-12-06  220  
c61a0d31ba0ce7 Thomas Gleixner  2015-11-04  221  	.send_IPI			= numachip_send_IPI_one,
44b111b519160e Steffen Persvold 2011-12-06  222  	.send_IPI_mask			= numachip_send_IPI_mask,
44b111b519160e Steffen Persvold 2011-12-06  223  	.send_IPI_mask_allbutself	= numachip_send_IPI_mask_allbutself,
44b111b519160e Steffen Persvold 2011-12-06  224  	.send_IPI_allbutself		= numachip_send_IPI_allbutself,
44b111b519160e Steffen Persvold 2011-12-06  225  	.send_IPI_all			= numachip_send_IPI_all,
44b111b519160e Steffen Persvold 2011-12-06  226  	.send_IPI_self			= numachip_send_IPI_self,
44b111b519160e Steffen Persvold 2011-12-06  227  
44b111b519160e Steffen Persvold 2011-12-06 @228  	.wakeup_secondary_cpu		= numachip_wakeup_secondary,
44b111b519160e Steffen Persvold 2011-12-06  229  
44b111b519160e Steffen Persvold 2011-12-06  230  	.read				= native_apic_mem_read,
44b111b519160e Steffen Persvold 2011-12-06  231  	.write				= native_apic_mem_write,
185c8f33a048bd Thomas Gleixner  2023-08-08  232  	.eoi				= native_apic_mem_eoi,
44b111b519160e Steffen Persvold 2011-12-06  233  	.icr_read			= native_apic_icr_read,
44b111b519160e Steffen Persvold 2011-12-06  234  	.icr_write			= native_apic_icr_write,
44b111b519160e Steffen Persvold 2011-12-06  235  };
44b111b519160e Steffen Persvold 2011-12-06  236  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-07 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250430204720.108962-1-romank@linux.microsoft.com>
2025-05-07 10:25 ` [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox