public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:kvm-upstream-workaround 37/141] arch/x86/kvm/vmx/tdx_stubs.c:9:5: warning: no previous prototype for 'tdx_module_setup'
@ 2022-02-09  5:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-09  5:51 UTC (permalink / raw)
  To: Isaku Yamahata; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/intel/tdx.git kvm-upstream-workaround
head:   58f28b2fcc73d05d6a5a9f70a8fdacefa99acb85
commit: c3655d888b8950b33970012d3359b9e3921e36c6 [37/141] KVM: TDX: Add helper function to initialize TDX module
config: x86_64-randconfig-a002 (https://download.01.org/0day-ci/archive/20220209/202202091337.hA7jAV2B-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/c3655d888b8950b33970012d3359b9e3921e36c6
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream-workaround
        git checkout c3655d888b8950b33970012d3359b9e3921e36c6
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kvm/

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/kvm/vmx/tdx_stubs.c:9:5: warning: no previous prototype for 'tdx_module_setup' [-Wmissing-prototypes]
       9 | int tdx_module_setup(void) { return -EOPNOTSUPP; };
         |     ^~~~~~~~~~~~~~~~


vim +/tdx_module_setup +9 arch/x86/kvm/vmx/tdx_stubs.c

     5	
     6	void __init tdx_pre_kvm_init(unsigned int *vcpu_size,
     7				unsigned int *vcpu_align, unsigned int *vm_size) {}
     8	
   > 9	int tdx_module_setup(void) { return -EOPNOTSUPP; };

---
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  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-09  5:51 [intel-tdx:kvm-upstream-workaround 37/141] arch/x86/kvm/vmx/tdx_stubs.c:9:5: warning: no previous prototype for 'tdx_module_setup' 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