From: kbuild test robot <fengguang.wu@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Paolo Bonzini <pbonzini@redhat.com>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid'
Date: Sun, 12 Jun 2016 10:33:31 +0800 [thread overview]
Message-ID: <201606121029.ppR957HK%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]
Hi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8714f8f5fe396ca513ccaaac2304497439c181fb
commit: 340d3bc3664e5d3fb922fe6e3ae2d901d4900d88 svm: Add interrupt injection via AVIC
date: 3 weeks ago
config: i386-randconfig-x0-06121009 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
git checkout 340d3bc3664e5d3fb922fe6e3ae2d901d4900d88
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
arch/x86/kvm/svm.c: In function 'svm_deliver_avic_intr':
>> arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid' [-Werror=implicit-function-declaration]
__default_cpu_present_to_apicid(vcpu->cpu));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
arch/x86/kvm/svm.c:52:32: warning: 'svm_cpu_id' defined but not used [-Wunused-const-variable=]
static const struct x86_cpu_id svm_cpu_id[] = {
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/__default_cpu_present_to_apicid +3866 arch/x86/kvm/svm.c
3860 {
3861 kvm_lapic_set_irr(vec, vcpu->arch.apic);
3862 smp_mb__after_atomic();
3863
3864 if (avic_vcpu_is_running(vcpu))
3865 wrmsrl(SVM_AVIC_DOORBELL,
> 3866 __default_cpu_present_to_apicid(vcpu->cpu));
3867 else
3868 kvm_vcpu_wake_up(vcpu);
3869 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 21299 bytes --]
next reply other threads:[~2016-06-12 2:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-12 2:33 kbuild test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-05 2:37 kbuild test robot
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=201606121029.ppR957HK%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=suravee.suthikulpanit@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
all inboxes | Powered by JetHome®