[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202091337.hA7jAV2B-lkp@intel.com>
Date: Wed, 9 Feb 2022 13:51:24 +0800
From: kernel test robot <lkp@...el.com>
To: Isaku Yamahata <isaku.yamahata@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [intel-tdx:kvm-upstream-workaround 37/141]
arch/x86/kvm/vmx/tdx_stubs.c:9:5: warning: no previous prototype for
'tdx_module_setup'
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@...el.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
Powered by blists - more mailing lists