[arm-platforms:kvm-arm64/haslr 28/29] arch/arm64/mm/fault.c:719:2: error: implicit declaration of function 'arm64_apply_bp_hardening'; did you mean 'do_el0_irq_bp_hardening'?
kbuild test robot
fengguang.wu at intel.com
Fri Mar 16 17:03:11 PDT 2018
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/haslr
head: 457ca10313e335a0ab895fa5a6e1700999c0db6f
commit: f6a74501172d0d40543883649e12317b14cb95dc [28/29] arm64: KVM: Allow mapping of vectors outside of the RAM region
config: arm64-allnoconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f6a74501172d0d40543883649e12317b14cb95dc
# save the attached .config to linux build tree
make.cross ARCH=arm64
All errors (new ones prefixed by >>):
arch/arm64/mm/fault.c: In function 'do_el0_irq_bp_hardening':
>> arch/arm64/mm/fault.c:719:2: error: implicit declaration of function 'arm64_apply_bp_hardening'; did you mean 'do_el0_irq_bp_hardening'? [-Werror=implicit-function-declaration]
arm64_apply_bp_hardening();
^~~~~~~~~~~~~~~~~~~~~~~~
do_el0_irq_bp_hardening
cc1: some warnings being treated as errors
--
arch/arm64/mm/context.c: In function 'check_and_switch_context':
>> arch/arm64/mm/context.c:238:2: error: implicit declaration of function 'arm64_apply_bp_hardening' [-Werror=implicit-function-declaration]
arm64_apply_bp_hardening();
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +719 arch/arm64/mm/fault.c
1d18c47c Catalin Marinas 2012-03-05 715
30d88c0e Will Deacon 2018-02-02 716 asmlinkage void __exception do_el0_irq_bp_hardening(void)
30d88c0e Will Deacon 2018-02-02 717 {
30d88c0e Will Deacon 2018-02-02 718 /* PC has already been checked in entry.S */
30d88c0e Will Deacon 2018-02-02 @719 arm64_apply_bp_hardening();
30d88c0e Will Deacon 2018-02-02 720 }
30d88c0e Will Deacon 2018-02-02 721
:::::: The code at line 719 was first introduced by commit
:::::: 30d88c0e3ace625a92eead9ca0ad94093a8f59fe arm64: entry: Apply BP hardening for suspicious interrupts from EL0
:::::: TO: Will Deacon <will.deacon at arm.com>
:::::: CC: Catalin Marinas <catalin.marinas at arm.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 6968 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180317/81162b26/attachment.gz>
More information about the linux-arm-kernel
mailing list