[android-common:android16-6.12-desktop 1/1] arch/x86/include/asm/kvm_pkvm.h:266:31: error: field has incomplete type 'struct pkvm_lm_context_param'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Vineeth, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12-desktop head: 24c37396da197463e1ff2bc69bb789e34dacad53 commit: 8ef015afc176a3d8627c1c1e6f561494d211e057 [1/1] ANDROID: pkvm: x86: Hypercalls for legacy mode context tables config: i386-randconfig-r072-20260813 (https://download.01.org/0day-ci/archive/20260813/[email protected]/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/[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 >>): In file included from arch/x86/kernel/setup.c:43: >> arch/x86/include/asm/kvm_pkvm.h:266:31: error: field has incomplete type 'struct pkvm_lm_context_param' 266 | struct pkvm_lm_context_param lm_context_param; | ^ arch/x86/include/asm/kvm_pkvm.h:266:9: note: forward declaration of 'struct pkvm_lm_context_param' 266 | struct pkvm_lm_context_param lm_context_param; | ^ >> arch/x86/include/asm/kvm_pkvm.h:267:38: error: field has incomplete type 'struct pkvm_clear_translation_param' 267 | struct pkvm_clear_translation_param clear_translation_param; | ^ arch/x86/include/asm/kvm_pkvm.h:267:9: note: forward declaration of 'struct pkvm_clear_translation_param' 267 | struct pkvm_clear_translation_param clear_translation_param; | ^ 2 errors generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DRM_MIPI_DSI Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for DRM_PRIVACY_SCREEN Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] && X86 [=y] WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD Depends on [n]: NETDEVICES [=y] && CAN_DEV [=n] && CAN_NETLINK [=n] Selected by [y]: - GKI_HIDDEN_MCP251XFD_CONFIGS [=y] vim +266 arch/x86/include/asm/kvm_pkvm.h 258 259 union pkvm_pv_param { 260 struct kvm_segment seg; 261 struct msr_data msr; 262 struct desc_ptr desc; 263 struct eoi_exitmap eoi_exit_bitmap; 264 265 /* IOMMU hypercall params */ > 266 struct pkvm_lm_context_param lm_context_param; > 267 struct pkvm_clear_translation_param clear_translation_param; 268 } __aligned(PAGE_SIZE); 269 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki