* [android-common:android15-6.6-desktop 2/2] arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function
@ 2025-02-26 2:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-26 2:21 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android15-6.6-desktop
head: 1340b52753f1557497f8d399a5e8ec6bf6a76002
commit: 1cd69cd68d8470b2504c03c331dca866646cacff [2/2] Merge branch 'android15-6.6-2aa57daa75e0' into android15-6.6-desktop
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250226/202502261003.oSgTw6h8-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250226/202502261003.oSgTw6h8-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/202502261003.oSgTw6h8-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/coco/pkvm/pkvm.c:10:
>> arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function [-Wvisibility]
151 | u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
| ^
arch/x86/coco/pkvm/pkvm.c:53:27: error: variable has incomplete type 'struct tdx_module_output'
53 | struct tdx_module_output out;
| ^
arch/x86/coco/pkvm/pkvm.c:53:9: note: forward declaration of 'struct tdx_module_output'
53 | struct tdx_module_output out;
| ^
1 warning and 1 error generated.
--
In file included from arch/x86/kernel/cpu/pkvm.c:7:
>> arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function [-Wvisibility]
151 | u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
| ^
1 warning generated.
vim +151 arch/x86/include/asm/pkvm.h
317d3034702744 Shaoqin Huang 2022-12-06 150
0b97a4c41ed1bc Shaoqin Huang 2022-12-07 @151 u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
0b97a4c41ed1bc Shaoqin Huang 2022-12-07 152
:::::: The code at line 151 was first introduced by commit
:::::: 0b97a4c41ed1bcb8f14bd5c08e1714877bb0c2a8 ANDROID: pkvm: x86: Add pkvm guest virtualization exception (#VE)
:::::: TO: Shaoqin Huang <shaoqin.huang@intel.com>
:::::: CC: Tomasz Nowicki <tnowicki@google.com>
--
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:[~2025-02-26 2:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 2:21 [android-common:android15-6.6-desktop 2/2] arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.