Messages in this thread | | | Date | Tue, 28 May 2019 05:50:48 +0800 | From | kbuild test robot <> | Subject | [tip:WIP.x86/core 28/29] arch/x86/kernel/cpu/acrn.c:52:2: error: implicit declaration of function 'entering_ack_irq'; did you mean 'spin_lock_irq'? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/core head: 830be9dae84c3a781f6d1594c4038c164bbae52b commit: 6fc278e883365e67dd4a35e25b756d9d0c9d913c [28/29] x86/acrn: Use HYPERVISOR_CALLBACK_VECTOR for ACRN guest upcall vector config: x86_64-randconfig-s505280430 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 6fc278e883365e67dd4a35e25b756d9d0c9d913c # save the attached .config to linux build tree make ARCH=x86_64
If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/cpu/acrn.c: In function 'acrn_hv_vector_handler': >> arch/x86/kernel/cpu/acrn.c:52:2: error: implicit declaration of function 'entering_ack_irq'; did you mean 'spin_lock_irq'? [-Werror=implicit-function-declaration] entering_ack_irq(); ^~~~~~~~~~~~~~~~ spin_lock_irq >> arch/x86/kernel/cpu/acrn.c:58:2: error: implicit declaration of function 'exiting_irq'; did you mean 'in_irq'? [-Werror=implicit-function-declaration] exiting_irq(); ^~~~~~~~~~~ in_irq cc1: some warnings being treated as errors
vim +52 arch/x86/kernel/cpu/acrn.c
40 41 __visible void __irq_entry acrn_hv_vector_handler(struct pt_regs *regs) 42 { 43 struct pt_regs *old_regs = set_irq_regs(regs); 44 45 /* 46 * The hypervisor requires that the APIC EOI should be acked. 47 * If the APIC EOI is not acked, the APIC ISR bit for the 48 * HYPERVISOR_CALLBACK_VECTOR will not be cleared and then it 49 * will block the interrupt whose vector is lower than 50 * HYPERVISOR_CALLBACK_VECTOR. 51 */ > 52 entering_ack_irq(); 53 inc_irq_stat(irq_hv_callback_count); 54 55 if (acrn_intr_handler) 56 acrn_intr_handler(); 57 > 58 exiting_irq(); 59 set_irq_regs(old_regs); 60 } 61
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |