Hi Praveen,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/x86/core]
[also build test ERROR on arnd-asm-generic/master soc/for-next linus/master 
v6.17 next-20251010]
[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/Praveen-K-Paladugu/hyperv-Add-definitions-for-MSHV-sleep-state-configuration/20251010-122914
base:   tip/x86/core
patch link:    
https://lore.kernel.org/r/20251009160501.6356-3-prapal%40linux.microsoft.com
patch subject: [PATCH 2/2] hyperv: Enable clean shutdown for root partition 
with MSHV
config: arm64-randconfig-002-20251011 
(https://download.01.org/0day-ci/archive/20251011/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251011/[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_common.c: In function 'hv_sleep_notifiers_register':
>> drivers/hv/hv_common.c:944:57: error: macro "acpi_os_set_prepare_sleep" 
>> requires 3 arguments, but only 1 given
     944 |         acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
         |                                                         ^
   In file included from drivers/hv/hv_common.c:16:
   include/linux/acpi.h:1165: note: macro "acpi_os_set_prepare_sleep" defined 
here
    1165 | #define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } 
while (0)
         | 
>> drivers/hv/hv_common.c:944:9: error: 'acpi_os_set_prepare_sleep' undeclared 
>> (first use in this function); did you mean 'acpi_os_enter_sleep'?
     944 |         acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~
         |         acpi_os_enter_sleep
   drivers/hv/hv_common.c:944:9: note: each undeclared identifier is reported 
only once for each function it appears in
>> drivers/hv/hv_common.c:945:9: error: implicit declaration of function 
>> 'acpi_os_set_prepare_extended_sleep'; did you mean 
>> 'acpi_os_set_prepare_sleep'? [-Werror=implicit-function-declaration]
     945 |         
acpi_os_set_prepare_extended_sleep(&hv_acpi_extended_sleep_handler);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |         acpi_os_set_prepare_sleep
   cc1: some warnings being treated as errors


vim +/acpi_os_set_prepare_sleep +944 drivers/hv/hv_common.c

   939  
   940  int hv_sleep_notifiers_register(void)
   941  {
   942          int ret;
   943  
 > 944          acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
 > 945          
 > acpi_os_set_prepare_extended_sleep(&hv_acpi_extended_sleep_handler);

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

Reply via email to