public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [intel-tdx:tdx_kvm_dev-2024-05-30 59/115] arch/x86/kvm/vmx/main.c:224:10: error: call to undeclared function 'tdx_gmem_private_max_mapping_level'; ISO C99 and later do not support implicit function declarations
@ 2024-05-31 18:03 kernel test robot
  2024-05-31 22:20 ` Edgecombe, Rick P
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2024-05-31 18:03 UTC (permalink / raw)
  To: Isaku Yamahata; +Cc: llvm, oe-kbuild-all, Rick Edgecombe

tree:   https://github.com/intel/tdx.git tdx_kvm_dev-2024-05-30
head:   538d25a4d08a3dc487fc9be78bef09105ef54e27
commit: a3c36efd448bd3b25ee0cf2672f177ff603a6be6 [59/115] KVM: TDX: TDP MMU TDX support
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240601/202406010133.Yu2O9Air-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240601/202406010133.Yu2O9Air-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/202406010133.Yu2O9Air-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kvm/vmx/main.c:224:10: error: call to undeclared function 'tdx_gmem_private_max_mapping_level'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     224 |                 return tdx_gmem_private_max_mapping_level(kvm, pfn);
         |                        ^
   arch/x86/kvm/vmx/main.c:224:10: note: did you mean 'vt_gmem_private_max_mapping_level'?
   arch/x86/kvm/vmx/main.c:221:12: note: 'vt_gmem_private_max_mapping_level' declared here
     221 | static int vt_gmem_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn)
         |            ^
     222 | {
     223 |         if (is_td(kvm))
     224 |                 return tdx_gmem_private_max_mapping_level(kvm, pfn);
         |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                        vt_gmem_private_max_mapping_level
   1 error generated.


vim +/tdx_gmem_private_max_mapping_level +224 arch/x86/kvm/vmx/main.c

   220	
   221	static int vt_gmem_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn)
   222	{
   223		if (is_td(kvm))
 > 224			return tdx_gmem_private_max_mapping_level(kvm, pfn);
   225	
   226		return 0;
   227	}
   228	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-31 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 18:03 [intel-tdx:tdx_kvm_dev-2024-05-30 59/115] arch/x86/kvm/vmx/main.c:224:10: error: call to undeclared function 'tdx_gmem_private_max_mapping_level'; ISO C99 and later do not support implicit function declarations kernel test robot
2024-05-31 22:20 ` Edgecombe, Rick P
2024-05-31 22:31   ` Yamahata, Isaku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox