Hi Michael,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/master]
[also build test ERROR on linus/master v7.1-rc5 next-20260522]
[cannot apply to tip/x86/core arnd-asm-generic/master tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Michael-Kelley/x86-hyperv-Refactor-hv_smp_prepare_cpus/20260522-032610
base:   tip/master
patch link:    
https://lore.kernel.org/r/20260521192336.99623-1-mhklkml%40zohomail.com
patch subject: [PATCH 1/1] x86/hyperv: Refactor hv_smp_prepare_cpus()
config: x86_64-buildonly-randconfig-006-20260525 
(https://download.01.org/0day-ci/archive/20260525/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260525/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   drivers/hv/hv_proc.c: In function 'hv_smp_prep_cpus':
>> drivers/hv/hv_proc.c:303:69: error: implicit declaration of function 
>> 'cpu_physical_id' [-Wimplicit-function-declaration]
     303 |                 ret = hv_call_add_logical_proc(numa_cpu_node(i), i, 
cpu_physical_id(i));
         |                                                                     
^~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for MFD_STMFX
   Depends on [n]: HAS_IOMEM [=y] && I2C [=y] && OF [=n]
   Selected by [y]:
   - PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && HAS_IOMEM [=y]


vim +/cpu_physical_id +303 drivers/hv/hv_proc.c

   290  
   291  void hv_smp_prep_cpus(void)
   292  {
   293  #ifdef CONFIG_X86_64
   294          int i, ret;
   295  
   296          /* If AP LPs exist, we are in a kexec'd kernel and VPs already 
exist */
   297          if (num_present_cpus() == 1 || hv_lp_exists(1))
   298                  return;
   299  
   300          for_each_present_cpu(i) {
   301                  if (i == 0)
   302                          continue;
 > 303                  ret = hv_call_add_logical_proc(numa_cpu_node(i), i, 
 > cpu_physical_id(i));

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

Reply via email to