* [intel-tdx:kvm-upstream-workaround 21/141] arch/x86/include/asm/tdx_host.h:60:35: warning: 'struct tdsysinfo_struct' declared inside parameter list will not be visible outside of this definition or declaration
@ 2022-02-09 2:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-09 2:58 UTC (permalink / raw)
To: Isaku Yamahata; +Cc: kbuild-all, linux-kernel
tree: https://github.com/intel/tdx.git kvm-upstream-workaround
head: 58f28b2fcc73d05d6a5a9f70a8fdacefa99acb85
commit: 13dd0fa9c0ba8880c196a8feecd826f4c16b18f8 [21/141] x86/cpu: make init_tdx() system wide info about TDX module
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220209/202202091001.FUPeNVtq-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/13dd0fa9c0ba8880c196a8feecd826f4c16b18f8
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream-workaround
git checkout 13dd0fa9c0ba8880c196a8feecd826f4c16b18f8
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/cpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/cpu/intel.c:30:
>> arch/x86/include/asm/tdx_host.h:60:35: warning: 'struct tdsysinfo_struct' declared inside parameter list will not be visible outside of this definition or declaration
60 | static inline int init_tdx(struct tdsysinfo_struct *r) { return -ENODEV; }
| ^~~~~~~~~~~~~~~~
vim +60 arch/x86/include/asm/tdx_host.h
53
54 void detect_tdx_keyids(struct cpuinfo_x86 *c);
55 int detect_tdx(void);
56 int init_tdx(struct tdsysinfo_struct *r);
57 #else
58 static inline void detect_tdx_keyids(struct cpuinfo_x86 *c) { }
59 static inline int detect_tdx(void) { return -ENODEV; }
> 60 static inline int init_tdx(struct tdsysinfo_struct *r) { return -ENODEV; }
61 #endif /* CONFIG_INTEL_TDX_HOST */
62
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-09 3:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 2:58 [intel-tdx:kvm-upstream-workaround 21/141] arch/x86/include/asm/tdx_host.h:60:35: warning: 'struct tdsysinfo_struct' declared inside parameter list will not be visible outside of this definition or declaration 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
all inboxes | Powered by JetHome®