Messages in this thread | | | Date | Thu, 6 Jul 2017 16:13:25 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH] kvm: avoid unused variable warning for UP builds |
| |
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 [unhandled content-type:application/gzip] | |