From: kernel test robot <lkp@intel.com>
To: Tom Lendacky <thomas.lendacky@amd.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: [linux-next:master 2106/2336] arch/x86/kvm/x86.c:7979:5: warning: no previous prototype for '__kvm_vcpu_halt'
Date: Fri, 8 Jan 2021 18:32:39 +0800 [thread overview]
Message-ID: <202101081833.wOEfpgHz-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-01-08 10:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202101081833.wOEfpgHz-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=pbonzini@redhat.com \
--cc=thomas.lendacky@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).