All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm:queue 74/77] arch/x86/kvm/vmx/vmx.c:4405:5: warning: no previous prototype for 'vmx_get_pid_table_order'
@ 2022-05-02 21:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-02 21:10 UTC (permalink / raw)
  To: Chao Gao
  Cc: 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: x86_64-randconfig-a015 (https://download.01.org/0day-ci/archive/20220503/202205030535.s9SuleZq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # 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
        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@intel.com>

All warnings (new ones prefixed by >>):

>> arch/x86/kvm/vmx/vmx.c:4405:5: warning: no previous prototype for 'vmx_get_pid_table_order' [-Wmissing-prototypes]
    4405 | int vmx_get_pid_table_order(struct kvm *kvm)
         |     ^~~~~~~~~~~~~~~~~~~~~~~


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-02 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 21:10 [kvm:queue 74/77] arch/x86/kvm/vmx/vmx.c:4405:5: warning: no previous prototype for 'vmx_get_pid_table_order' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.