linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 2106/2336] arch/x86/kvm/x86.c:7979:5: warning: no previous prototype for '__kvm_vcpu_halt'
@ 2021-01-08 10:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-08 10:32 UTC (permalink / raw)
  To: Tom Lendacky; +Cc: kbuild-all, Linux Memory Management List, Paolo Bonzini

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45679 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-08 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 10:32 [linux-next:master 2106/2336] arch/x86/kvm/x86.c:7979:5: warning: no previous prototype for '__kvm_vcpu_halt' 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).