public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [intel-tdx:kvm-upstream-next 261/321] arch/x86/include/asm/tdx.h:183:55: error: expected ';' after return statement
@ 2023-09-12  2:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-12  2:03 UTC (permalink / raw)
  To: Isaku Yamahata; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/intel/tdx.git kvm-upstream-next
head:   f6388449e0300e7413c7e2ea4875923875ddb340
commit: 3ff8b28b76c71d5e87fd02971c2c48e70fee10d9 [261/321] [REVERTME] debugfs to operation on TDX debug op
config: x86_64-randconfig-r033-20230912 (https://download.01.org/0day-ci/archive/20230912/202309120939.Ij3sZeTD-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/202309120939.Ij3sZeTD-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/202309120939.Ij3sZeTD-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/asm-offsets.c:22:
>> arch/x86/include/asm/tdx.h:183:55: error: expected ';' after return statement
   static inline bool tdx_is_enabled(void) { return false };
                                                         ^
                                                         ;
   1 error generated.
   make[3]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=2000764028
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1202: prepare0] Error 2 shuffle=2000764028
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2000764028
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:234: __sub-make] Error 2 shuffle=2000764028
   make: Target 'prepare' not remade because of errors.


vim +183 arch/x86/include/asm/tdx.h

   172	
   173	struct tdsysinfo_struct;
   174	static inline const struct tdsysinfo_struct *tdx_get_sysinfo(void) { return NULL; }
   175	static inline bool platform_tdx_enabled(void) { return false; }
   176	static inline int tdx_cpu_enable(void) { return -ENODEV; }
   177	static inline int tdx_enable(void)  { return -ENODEV; }
   178	static inline void tdx_reset_memory(void) { }
   179	static inline bool tdx_is_private_mem(unsigned long phys) { return false; }
   180	static inline u32 tdx_get_nr_guest_keyids(void) { return 0; }
   181	static inline int tdx_guest_keyid_alloc(void) { return -EOPNOTSUPP; }
   182	static inline void tdx_guest_keyid_free(int keyid) { }
 > 183	static inline bool tdx_is_enabled(void) { return false };
   184	#endif	/* CONFIG_INTEL_TDX_HOST */
   185	

-- 
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-09-12  2:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12  2:03 [intel-tdx:kvm-upstream-next 261/321] arch/x86/include/asm/tdx.h:183:55: error: expected ';' after return statement 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