* [kvm:queue 74/77] arch/x86/kvm/vmx/vmx.c:4405:5: error: no previous prototype for function 'vmx_get_pid_table_order'
@ 2022-05-03 1:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-03 1:56 UTC (permalink / raw)
To: Chao Gao
Cc: llvm, kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
Paolo Bonzini, Zeng Guang
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head: 2764011106d0436cb44702cfb0981339d68c3509
commit: 101c99f6506d7fc293111190d65fedadb711c9ea [74/77] KVM: VMX: enable IPI virtualization
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220503/202205030944.BOEY0IuK-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 09325d36061e42b495d1f4c7e933e260eac260ed)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=101c99f6506d7fc293111190d65fedadb711c9ea
git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
git fetch --no-tags kvm queue
git checkout 101c99f6506d7fc293111190d65fedadb711c9ea
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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@intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/kvm/vmx/vmx.c:4405:5: error: no previous prototype for function 'vmx_get_pid_table_order' [-Werror,-Wmissing-prototypes]
int vmx_get_pid_table_order(struct kvm *kvm)
^
arch/x86/kvm/vmx/vmx.c:4405:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int vmx_get_pid_table_order(struct kvm *kvm)
^
static
1 error generated.
vim +/vmx_get_pid_table_order +4405 arch/x86/kvm/vmx/vmx.c
4404
> 4405 int vmx_get_pid_table_order(struct kvm *kvm)
4406 {
4407 return get_order(kvm->arch.max_vcpu_ids * sizeof(*to_kvm_vmx(kvm)->pid_table));
4408 }
4409
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-03 1:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-03 1:56 [kvm:queue 74/77] arch/x86/kvm/vmx/vmx.c:4405:5: error: no previous prototype for function 'vmx_get_pid_table_order' 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;
as well as URLs for NNTP newsgroup(s).