[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202510111934.lcAG5ZAN-lkp@intel.com>
Date: Sat, 11 Oct 2025 20:07:57 +0800
From: kernel test robot <lkp@...el.com>
To: Praveen K Paladugu <prapal@...ux.microsoft.com>, kys@...rosoft.com,
haiyangz@...rosoft.com, wei.liu@...nel.org, decui@...rosoft.com,
tglx@...utronix.de, mingo@...hat.com, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com,
arnd@...db.de
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
anbelski@...ux.microsoft.com, prapal@...ux.microsoft.com
Subject: Re: [PATCH 2/2] hyperv: Enable clean shutdown for root partition
with MSHV
Hi Praveen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/x86/core]
[also build test WARNING 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-003-20251011 (https://download.01.org/0day-ci/archive/20251011/202510111934.lcAG5ZAN-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 39f292ffa13d7ca0d1edff27ac8fd55024bb4d19)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251011/202510111934.lcAG5ZAN-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510111934.lcAG5ZAN-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hv/hv_common.c:944:50: error: too few arguments provided to function-like macro invocation
944 | acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
| ^
include/linux/acpi.h:1165:9: 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:2: error: use of undeclared identifier 'acpi_os_set_prepare_sleep'; did you mean 'acpi_os_enter_sleep'?
944 | acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| acpi_os_enter_sleep
include/acpi/acpiosxf.h:326:13: note: 'acpi_os_enter_sleep' declared here
326 | acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value);
| ^
drivers/hv/hv_common.c:945:2: error: call to undeclared function 'acpi_os_set_prepare_extended_sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
945 | acpi_os_set_prepare_extended_sleep(&hv_acpi_extended_sleep_handler);
| ^
>> drivers/hv/hv_common.c:944:2: warning: expression result unused [-Wunused-value]
944 | acpi_os_set_prepare_sleep(&hv_acpi_sleep_handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
vim +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
Powered by blists - more mailing lists