[arm-platforms:irq/generic_handle_domain_irq 16/22] kernel/irq/chip.c:503:2: error: implicit declaration of function '__handle_nested_irq'

kernel test robot lkp at intel.com
Tue Jul 27 17:57:45 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/generic_handle_domain_irq
head:   4a620292d19724ca0201292a9add47d5be00e4bc
commit: 2652c9d23894a02944c8714eb262d693490e580c [16/22] genirq: Extract __handle_nested_irq() as a primitive for handle_hested_irq()
config: riscv-randconfig-r035-20210727 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c658b472f3e61e1818e1909bf02f3d65470018a5)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=2652c9d23894a02944c8714eb262d693490e580c
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms irq/generic_handle_domain_irq
        git checkout 2652c9d23894a02944c8714eb262d693490e580c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> kernel/irq/chip.c:503:2: error: implicit declaration of function '__handle_nested_irq' [-Werror,-Wimplicit-function-declaration]
           __handle_nested_irq(irq_to_desc(irq));
           ^
   kernel/irq/chip.c:503:2: note: did you mean 'handle_nested_irq'?
   kernel/irq/chip.c:501:6: note: 'handle_nested_irq' declared here
   void handle_nested_irq(unsigned int irq)
        ^
   1 error generated.


vim +/__handle_nested_irq +503 kernel/irq/chip.c

   492	
   493	/*
   494	 *	handle_nested_irq - Handle a nested irq from a irq thread
   495	 *	@irq:	the interrupt number
   496	 *
   497	 *	Handle interrupts which are nested into a threaded interrupt
   498	 *	handler. The handler function is called inside the calling
   499	 *	threads context.
   500	 */
   501	void handle_nested_irq(unsigned int irq)
   502	{
 > 503		__handle_nested_irq(irq_to_desc(irq));
   504	}
   505	EXPORT_SYMBOL_GPL(handle_nested_irq);
   506	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35607 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210728/fe242355/attachment-0001.gz>


More information about the linux-arm-kernel mailing list