lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201606121029.ppR957HK%fengguang.wu@intel.com>
Date:	Sun, 12 Jun 2016 10:33:31 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	unlisted-recipients:; (no To-header on input)
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Paolo Bonzini <pbonzini@...hat.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@....com>
Subject: arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function
 '__default_cpu_present_to_apicid'

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

Download attachment ".config.gz" of type "application/octet-stream" (21299 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ