[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202112348.D1I1yBvA-lkp@intel.com>
Date: Sat, 12 Feb 2022 01:58:25 +0800
From: kernel test robot <lkp@...el.com>
To: Sean Christopherson <sean.j.christopherson@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Isaku Yamahata <isaku.yamahata@...el.com>
Subject: [intel-tdx:kvm-upstream-workaround 111/144]
arch/x86/kvm/vmx/tdx_stubs.c:14:6: warning: no previous prototype for
'tdx_vm_teardown'
tree: https://github.com/intel/tdx.git kvm-upstream-workaround
head: 8dfa492341b8e8ba1c9dc534dd55565adc1b0ac0
commit: 1942310bc36276289fa54bb8d077c394078c4b15 [111/144] KVM: TDX: Add methods to ignore accesses to CPU state
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220211/202202112348.D1I1yBvA-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/1942310bc36276289fa54bb8d077c394078c4b15
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream-workaround
git checkout 1942310bc36276289fa54bb8d077c394078c4b15
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kvm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/vmx/tdx_stubs.c:14:6: warning: no previous prototype for 'tdx_vm_teardown' [-Wmissing-prototypes]
14 | void tdx_vm_teardown(struct kvm *kvm) {}
| ^~~~~~~~~~~~~~~
arch/x86/kvm/vmx/tdx_stubs.c:38:5: warning: no previous prototype for 'tdx_deliver_posted_interrupt' [-Wmissing-prototypes]
38 | int tdx_deliver_posted_interrupt(struct kvm_vcpu *vcpu, int vector) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/tdx_vm_teardown +14 arch/x86/kvm/vmx/tdx_stubs.c
12
13 int tdx_vm_init(struct kvm *kvm) { return -EOPNOTSUPP; }
> 14 void tdx_vm_teardown(struct kvm *kvm) {}
15
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists