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: <201905280546.eSrcufDM%lkp@intel.com>
Date:   Tue, 28 May 2019 05:50:48 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Zhao Yakui <yakui.zhao@...el.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        tipbuild@...or.com, Borislav Petkov <bp@...e.de>,
        Jason Chen CJ <jason.cj.chen@...el.com>,
        Thomas Gleixner <tglx@...utronix.de>
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@...el.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

Download attachment ".config.gz" of type "application/gzip" (30519 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ