public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [lantianyu:test 18/29] arch/x86/kernel/cpu/mshyperv.c:543:3: error: call to undeclared function 'hv_sev_init_mem_and_cpu'; ISO C99 and later do not support implicit function declarations
@ 2023-08-09 12:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-09 12:12 UTC (permalink / raw)
  To: Tianyu Lan; +Cc: llvm, oe-kbuild-all, Michael Kelley

tree:   https://github.com/lantianyu/linux test
head:   1f50b51d0f25cf6e93d994fbc0ec9e2f1cb3b911
commit: b1fb0b5fda3b4d47523c15ad6817f5111e3ba898 [18/29] x86/hyperv: Initialize cpu and memory for SEV-SNP enlightened guest
config: x86_64-randconfig-x003-20230809 (https://download.01.org/0day-ci/archive/20230809/202308092032.xNConEC0-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230809/202308092032.xNConEC0-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/202308092032.xNConEC0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/cpu/mshyperv.c:543:3: error: call to undeclared function 'hv_sev_init_mem_and_cpu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                   hv_sev_init_mem_and_cpu();
                   ^
   1 error generated.


vim +/hv_sev_init_mem_and_cpu +543 arch/x86/kernel/cpu/mshyperv.c

   529	
   530		/* Register Hyper-V specific clocksource */
   531		hv_init_clocksource();
   532		hv_vtl_init_platform();
   533	#endif
   534		/*
   535		 * TSC should be marked as unstable only after Hyper-V
   536		 * clocksource has been initialized. This ensures that the
   537		 * stability of the sched_clock is not altered.
   538		 */
   539		if (!(ms_hyperv.features & HV_ACCESS_TSC_INVARIANT))
   540			mark_tsc_unstable("running on Hyper-V");
   541	
   542		if (hv_isolation_type_en_snp())
 > 543			hv_sev_init_mem_and_cpu();
   544	
   545		hardlockup_detector_disable();
   546	}
   547	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-09 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 12:12 [lantianyu:test 18/29] arch/x86/kernel/cpu/mshyperv.c:543:3: error: call to undeclared function 'hv_sev_init_mem_and_cpu'; ISO C99 and later do not support implicit function declarations kernel test robot

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