[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202511182353.5FvVmUhR-lkp@intel.com>
Date: Tue, 18 Nov 2025 23:53:55 +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,
easwar.hariharan@...ux.microsoft.com,
nunodasneves@...ux.microsoft.com, skinsburskii@...ux.microsoft.com
Subject: Re: [PATCH v5 3/3] hyperv: Cleanly shutdown root partition with MSHV
Hi Praveen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20251117]
[cannot apply to tip/x86/core linus/master v6.18-rc6 v6.18-rc5 v6.18-rc4 v6.18-rc6]
[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/20251118-051204
base: next-20251117
patch link: https://lore.kernel.org/r/20251117210855.108126-4-prapal%40linux.microsoft.com
patch subject: [PATCH v5 3/3] hyperv: Cleanly shutdown root partition with MSHV
config: arm64-randconfig-003-20251118 (https://download.01.org/0day-ci/archive/20251118/202511182353.5FvVmUhR-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511182353.5FvVmUhR-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/202511182353.5FvVmUhR-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hv/mshv_common.c:210:6: warning: no previous prototype for function 'hv_sleep_notifiers_register' [-Wmissing-prototypes]
210 | void hv_sleep_notifiers_register(void)
| ^
drivers/hv/mshv_common.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
210 | void hv_sleep_notifiers_register(void)
| ^
| static
>> drivers/hv/mshv_common.c:224:6: warning: no previous prototype for function 'hv_machine_power_off' [-Wmissing-prototypes]
224 | void hv_machine_power_off(void)
| ^
drivers/hv/mshv_common.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
224 | void hv_machine_power_off(void)
| ^
| static
2 warnings generated.
vim +/hv_machine_power_off +224 drivers/hv/mshv_common.c
219
220 /*
221 * Power off the machine by entering S5 sleep state via Hyper-V hypercall.
222 * This call does not return if successful.
223 */
> 224 void hv_machine_power_off(void)
225 {
226 unsigned long flags;
227 struct hv_input_enter_sleep_state *in;
228
229 local_irq_save(flags);
230 in = *this_cpu_ptr(hyperv_pcpu_input_arg);
231 in->sleep_state = HV_SLEEP_STATE_S5;
232
233 (void)hv_do_hypercall(HVCALL_ENTER_SLEEP_STATE, in, NULL);
234 local_irq_restore(flags);
235
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists