[kvm:queue 182/205] arch/x86/kernel/kvm.c:756:16: warning: no previous prototype for '__kvm_vcpu_is_preempted'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx>

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@xxxxxxxxxxxx



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux