Re: [PATCH v1 6/6] x86/hyperv: Enable build of hypervisor crashdump collection files

kernel test robot
2025-09-13T04:54:30Z

Hi Mukesh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20250909]
[also build test WARNING on v6.17-rc5]
[cannot apply to tip/x86/core tip/master linus/master arnd-asm-generic/master tip/auto-latest v6.17-rc5 v6.17-rc4 v6.17-rc3]
[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/Mukesh-Rathor/x86-hyperv-Rename-guest-crash-shutdown-function/20250910-081309
base: next-20250909
patch link: https://lore.kernel.org/r/20250910001009.2651481-7-mrathor%40linux.microsoft.com
patch subject: [PATCH v1 6/6] x86/hyperv: Enable build of hypervisor crashdump collection files
config: x86_64-randconfig-073-20250913 (https://download.01.org/0day-ci/archive/20250913/202509131228.naboUNkE-lkp@intel.com/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/20250913/202509131228.naboUNkE-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/202509131228.naboUNkE-lkp@intel.com/

All warnings (new ones prefixed by >>):

In file included from arch/x86/include/asm/mshyperv.h:272,
from arch/x86/hyperv/hv_apic.c:29:
>> include/asm-generic/mshyperv.h:370:5: warning: "CONFIG_CRASH_DUMP" is not defined, evaluates to 0 [-Wundef]
370 | #if CONFIG_CRASH_DUMP
| ^~~~~~~~~~~~~~~~~

vim +/CONFIG_CRASH_DUMP +370 include/asm-generic/mshyperv.h

369
> 370 #if CONFIG_CRASH_DUMP
371 void hv_root_crash_init(void);
372 void hv_crash_asm32(void);
373 void hv_crash_asm64_lbl(void);
374 void hv_crash_asm_end(void);
375 #else /* CONFIG_CRASH_DUMP */
376 static inline void hv_root_crash_init(void) {}
377 #endif /* CONFIG_CRASH_DUMP */
378

--
0-DAY CI Kernel Test Service