Messages in this thread | | | Date | Thu, 2 Sep 2021 11:58:21 +0800 | From | kernel test robot <> | Subject | [intel-tdx:guest 100/127] arch/x86/kernel/tdx.c:427:14: warning: no previous prototype for 'tdx_write_msr' |
| |
tree: https://github.com/intel/tdx.git guest head: c748712bd17bbd7f8a75553911a5557f3d7d32b2 commit: 2ea8a5cdb921187dea2d10db2aa5ad47d6e6ac03 [100/127] x86/tdx: Use direct paravirt call for wrmsrl config: x86_64-allyesconfig (attached as .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/2ea8a5cdb921187dea2d10db2aa5ad47d6e6ac03 git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx guest git checkout 2ea8a5cdb921187dea2d10db2aa5ad47d6e6ac03 # save the attached .config to linux build tree make W=1 ARCH=x86_64
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 >>):
arch/x86/kernel/tdx.c:256:5: warning: no previous prototype for 'tdx_hcall_set_notify_intr' [-Wmissing-prototypes] 256 | int tdx_hcall_set_notify_intr(u8 vector) | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/x86/kernel/tdx.c:427:14: warning: no previous prototype for 'tdx_write_msr' [-Wmissing-prototypes] 427 | void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high) | ^~~~~~~~~~~~~
vim +/tdx_write_msr +427 arch/x86/kernel/tdx.c
426 > 427 void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high) 428 { 429 if (tdx_is_context_switched_msr(msr)) 430 native_write_msr(msr, low, high); 431 else 432 tdx_write_msr_safe(msr, low, high); 433 } 434
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |