From: kbuild test robot <lkp@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org, paulus@ozlabs.org, stable@vger.kernel.org
Subject: Re: [PATCH] kvm: avoid unused variable warning for UP builds
Date: Thu, 6 Jul 2017 16:13:25 +0800 [thread overview]
Message-ID: <201707061503.jLb0YK1I%fengguang.wu@intel.com> (raw)
In-Reply-To: <1499250930-34010-1-git-send-email-pbonzini@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]
Hi Paolo,
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/kvm-avoid-unused-variable-warning-for-UP-builds/20170706-051225
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_make_all_cpus_request':
>> arch/x86/kvm/../../../virt/kvm/kvm_main.c:221:4: error: implicit declaration of function '__cpumask_set_cpu' [-Werror=implicit-function-declaration]
__cpumask_set_cpu(cpu, cpus);
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/__cpumask_set_cpu +221 arch/x86/kvm/../../../virt/kvm/kvm_main.c
215
216 if (!(req & KVM_REQUEST_NO_WAKEUP) && kvm_vcpu_wake_up(vcpu))
217 continue;
218
219 if (cpus != NULL && cpu != -1 && cpu != me &&
220 kvm_request_needs_ipi(vcpu, req))
> 221 __cpumask_set_cpu(cpu, cpus);
222 }
223 called = kvm_kick_many_cpus(cpus, !!(req & KVM_REQUEST_WAIT));
224 put_cpu();
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38862 bytes --]
prev parent reply other threads:[~2017-07-06 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 10:35 Paolo Bonzini
2017-07-05 12:22 ` David Hildenbrand
2017-07-05 12:24 ` Paolo Bonzini
2017-07-05 12:26 ` David Hildenbrand
2017-07-06 8:13 ` kbuild test robot [this message]
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=201707061503.jLb0YK1I%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@ozlabs.org \
--cc=pbonzini@redhat.com \
--cc=stable@vger.kernel.org \
/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®