* arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid'
@ 2016-06-12 2:33 kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-06-12 2:33 UTC (permalink / raw)
Cc: kbuild-all, linux-kernel, Paolo Bonzini, Suravee Suthikulpanit
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid'
@ 2016-06-05 2:37 kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-06-05 2:37 UTC (permalink / raw)
Cc: kbuild-all, linux-kernel, Paolo Bonzini, Suravee Suthikulpanit
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
Hi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993
commit: 340d3bc3664e5d3fb922fe6e3ae2d901d4900d88 svm: Add interrupt injection via AVIC
date: 2 weeks ago
config: i386-randconfig-sb0-06051026 (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: 33287 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-12 2:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-12 2:33 arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid' kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2016-06-05 2:37 kbuild 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).