On 11/17/2025 9:34 AM, Wei Liu wrote: > +Nuno > > On Sun, Nov 16, 2025 at 04:17:08PM +0800, kernel test robot wrote: >> Hi Anirudh, >> >> kernel test robot noticed the following build errors: >> >> [auto build test ERROR on linus/master] >> [also build test ERROR on v6.18-rc5] >> [cannot apply to next-20251114] >> [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/Anirudh-Rayabharam/Drivers-hv-ioctl-for-self-targeted-passthrough-hvcalls/20251114-182039 >> base: linus/master >> patch link: >> https://lore.kernel.org/r/20251114095853.3482596-1-anirudh%40anirudhrb.com >> patch subject: [PATCH] Drivers: hv: ioctl for self targeted passthrough >> hvcalls >> config: x86_64-buildonly-randconfig-005-20251116 >> (https://download.01.org/0day-ci/archive/20251116/[email protected]/config) >> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project >> 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) >> reproduce (this is a W=1 build): >> (https://download.01.org/0day-ci/archive/20251116/[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/mshv_root_main.c:125:2: error: use of undeclared identifier >>>> 'HVCALL_GET_PARTITION_PROPERTY_EX' >> 125 | HVCALL_GET_PARTITION_PROPERTY_EX, >> | ^ > > Anirudh, please check this. > This is introduced in hyperv-next, in: 59aeea195948 mshv: Add the HVCALL_GET_PARTITION_PROPERTY_EX hypercall
But the bot applies the patch to linus/master, that is probably why. >>>> drivers/hv/mshv_root_main.c:175:18: error: invalid application of 'sizeof' >>>> to an incomplete type 'u16[]' (aka 'unsigned short[]') >> 175 | for (i = 0; i < ARRAY_SIZE(mshv_passthru_hvcalls); ++i) >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > This is from the original patch. Perhaps adding the explicit declaration > of the array size would help. > I think this is just due to the earlier error... Nuno > Wei
