* [kvm:queue 182/205] arch/x86/kernel/kvm.c:756:16: warning: no previous prototype for '__kvm_vcpu_is_preempted'
@ 2022-03-10 1:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-10 1:59 UTC (permalink / raw)
To: Li RongQing
Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
Paolo Bonzini
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head: 8c1db5a775bc8314d78e99263e0d063a01b692c2
commit: 4ab22f38c2046f2c949cb43fc0f7515666a2a2fb [182/205] KVM: x86: Support the vCPU preemption check with nopvspin and realtime hint
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220310/202203100918.w17rtniQ-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=4ab22f38c2046f2c949cb43fc0f7515666a2a2fb
git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
git fetch --no-tags kvm queue
git checkout 4ab22f38c2046f2c949cb43fc0f7515666a2a2fb
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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/kvm.c:756:16: warning: no previous prototype for '__kvm_vcpu_is_preempted' [-Wmissing-prototypes]
756 | __visible bool __kvm_vcpu_is_preempted(long cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/__kvm_vcpu_is_preempted +756 arch/x86/kernel/kvm.c
754
755 #ifdef CONFIG_X86_32
> 756 __visible bool __kvm_vcpu_is_preempted(long cpu)
757 {
758 struct kvm_steal_time *src = &per_cpu(steal_time, cpu);
759
760 return !!(src->preempted & KVM_VCPU_PREEMPTED);
761 }
762 PV_CALLEE_SAVE_REGS_THUNK(__kvm_vcpu_is_preempted);
763
---
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-03-10 2:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10 1:59 [kvm:queue 182/205] arch/x86/kernel/kvm.c:756:16: warning: no previous prototype for '__kvm_vcpu_is_preempted' 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