* [intel-tdx:guest 102/136] arch/x86/kernel/tdx.c:712:15: sparse: sparse: symbol 'tdx_mmio_readq' was not declared. Should it be static?
@ 2023-02-08 3:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-08 3:34 UTC (permalink / raw)
To: Andi Kleen; +Cc: oe-kbuild-all, Kuppuswamy Sathyanarayanan
tree: https://github.com/intel/tdx.git guest
head: f3d7a7e86bf2f0d5ce629f2fb7be11dca88ac06d
commit: c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7 [102/136] x86/tdx: Enable direct iomap MMIO optimizations
config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20230208/202302081112.STP1dlyS-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel/tdx/commit/c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 olddefconfig
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
arch/x86/kernel/tdx.c:267:5: sparse: sparse: symbol 'tdx_hcall_set_notify_intr' was not declared. Should it be static?
arch/x86/kernel/tdx.c:490:14: sparse: sparse: symbol 'tdx_write_msr' was not declared. Should it be static?
>> arch/x86/kernel/tdx.c:712:15: sparse: sparse: symbol 'tdx_mmio_readq' was not declared. Should it be static?
vim +/tdx_mmio_readq +712 arch/x86/kernel/tdx.c
711
> 712 unsigned long tdx_mmio_readq(void __iomem *addr)
713 {
714 unsigned long val;
715
716 if (tdx_virt_mmio(8, false, (unsigned long)addr, &val))
717 return 0xffffffffffffffff;
718 return val;
719 }
720
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-08 3:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 3:34 [intel-tdx:guest 102/136] arch/x86/kernel/tdx.c:712:15: sparse: sparse: symbol 'tdx_mmio_readq' was not declared. Should it be static? 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.