[linux-next:master 2106/2336] arch/x86/kvm/x86.c:7979:5: warning: no previous prototype for '__kvm_vcpu_halt'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1c925d2030afd354a02c23500386e620e662622b
commit: 647daca25d24fb6eadc7b6cd680ad3e6eed0f3d5 [2106/2336] KVM: SVM: Add support for booting APs in an SEV-ES guest
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=647daca25d24fb6eadc7b6cd680ad3e6eed0f3d5
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 647daca25d24fb6eadc7b6cd680ad3e6eed0f3d5
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/kvm/x86.c:7979:5: warning: no previous prototype for '__kvm_vcpu_halt' [-Wmissing-prototypes]
    7979 | int __kvm_vcpu_halt(struct kvm_vcpu *vcpu, int state, int reason)
         |     ^~~~~~~~~~~~~~~


vim +/__kvm_vcpu_halt +7979 arch/x86/kvm/x86.c

  7978	
> 7979	int __kvm_vcpu_halt(struct kvm_vcpu *vcpu, int state, int reason)
  7980	{
  7981		++vcpu->stat.halt_exits;
  7982		if (lapic_in_kernel(vcpu)) {
  7983			vcpu->arch.mp_state = state;
  7984			return 1;
  7985		} else {
  7986			vcpu->run->exit_reason = reason;
  7987			return 0;
  7988		}
  7989	}
  7990	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux