[android-common:android16-6.12-desktop 1/1] arch/x86/include/asm/kvm_pkvm.h:270:27: error: field has incomplete type 'struct pkvm_domain_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: f24cdadefceff37f8b2ffc66635ba5df50633b8c [1/1] ANDROID: pkvm: x86: Hypercalls for iommu domain management 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; | ^ arch/x86/include/asm/kvm_pkvm.h:268:31: error: field has incomplete type 'struct pkvm_sm_context_param' 268 | struct pkvm_sm_context_param sm_context_param; | ^ arch/x86/include/asm/kvm_pkvm.h:268:9: note: forward declaration of 'struct pkvm_sm_context_param' 268 | struct pkvm_sm_context_param sm_context_param; | ^ arch/x86/include/asm/kvm_pkvm.h:269:32: error: field has incomplete type 'struct pkvm_pasid_table_param' 269 | struct pkvm_pasid_table_param pasid_table_param; | ^ arch/x86/include/asm/kvm_pkvm.h:269:9: note: forward declaration of 'struct pkvm_pasid_table_param' 269 | struct pkvm_pasid_table_param pasid_table_param; | ^ >> arch/x86/include/asm/kvm_pkvm.h:270:27: error: field has incomplete type 'struct pkvm_domain_param' 270 | struct pkvm_domain_param domain_param; | ^ arch/x86/include/asm/kvm_pkvm.h:270:9: note: forward declaration of 'struct pkvm_domain_param' 270 | struct pkvm_domain_param domain_param; | ^ 5 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 +270 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 struct pkvm_sm_context_param sm_context_param; 269 struct pkvm_pasid_table_param pasid_table_param; > 270 struct pkvm_domain_param domain_param; 271 } __aligned(PAGE_SIZE); 272 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki