All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Roman Kisel <romank@linux.microsoft.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback
Date: Wed, 7 May 2025 18:25:12 +0800	[thread overview]
Message-ID: <202505071859.8y4PxgRA-lkp@intel.com> (raw)
In-Reply-To: <20250430204720.108962-1-romank@linux.microsoft.com>

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

      parent reply	other threads:[~2025-05-07 10:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30 20:47 [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback Roman Kisel
2025-04-30 22:39 ` Michael Kelley
2025-05-02 16:14 ` Thomas Gleixner
2025-05-02 17:32 ` Wei Liu
2025-05-05 17:22   ` Roman Kisel
2025-05-05 18:01     ` Wei Liu
2025-05-05 18:12       ` Dave Hansen
2025-05-06  2:52         ` Wei Liu
2025-05-06  2:57           ` Wei Liu
2025-05-06  2:58 ` Wei Liu
2025-05-07  6:22   ` [EXTERNAL] " Saurabh Singh Sengar
2025-05-07  6:23   ` Wei Liu
2025-05-07 17:07     ` Roman Kisel
2025-05-07 10:25 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202505071859.8y4PxgRA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=romank@linux.microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.