From: kernel test robot <lkp@intel.com>
To: Praveen K Paladugu <prapal@linux.microsoft.com>,
kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org,
decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com,
linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org,
bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org,
hpa@zytor.com, arnd@arndb.de
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
anbelski@linux.microsoft.com, prapal@linux.microsoft.com
Subject: Re: [PATCH 2/2] hyperv: Enable clean shutdown for root partition with MSHV
Date: Sat, 11 Oct 2025 20:07:57 +0800 [thread overview]
Message-ID: <202510111934.lcAG5ZAN-lkp@intel.com> (raw)
In-Reply-To: <20251009160501.6356-3-prapal@linux.microsoft.com>
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@intel.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
next prev parent reply other threads:[~2025-10-11 12:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 15:58 [PATCH 0/2] Add support for clean shutdown with MSHV Praveen K Paladugu
2025-10-09 15:58 ` [PATCH 1/2] hyperv: Add definitions for MSHV sleep state configuration Praveen K Paladugu
2025-10-09 17:30 ` Easwar Hariharan
2025-10-09 19:22 ` Nuno Das Neves
2025-10-09 15:58 ` [PATCH 2/2] hyperv: Enable clean shutdown for root partition with MSHV Praveen K Paladugu
2025-10-09 17:30 ` Easwar Hariharan
2025-10-13 15:17 ` Praveen K Paladugu
2025-10-09 19:18 ` Nuno Das Neves
2025-10-11 11:57 ` kernel test robot
2025-10-11 12:07 ` kernel test robot [this message]
2025-10-09 22:26 ` [PATCH 0/2] Add support for clean shutdown " Stanislav Kinsburskii
2025-10-13 19:05 ` Wei Liu
2025-10-13 19:57 ` Praveen K Paladugu
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=202510111934.lcAG5ZAN-lkp@intel.com \
--to=lkp@intel.com \
--cc=anbelski@linux.microsoft.com \
--cc=arnd@arndb.de \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=hpa@zytor.com \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=prapal@linux.microsoft.com \
--cc=tglx@linutronix.de \
--cc=wei.liu@kernel.org \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox