[arm-platforms:irq/generic_handle_domain_irq 16/22] kernel/irq/chip.c:503:2: error: implicit declaration of function '__handle_nested_irq'; did you mean 'handle_nested_irq'?
kernel test robot
lkp at intel.com
Tue Jul 27 16:13:41 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: powerpc-randconfig-s032-20210727 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# 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=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc
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: In function 'handle_nested_irq':
>> kernel/irq/chip.c:503:2: error: implicit declaration of function '__handle_nested_irq'; did you mean 'handle_nested_irq'? [-Werror=implicit-function-declaration]
503 | __handle_nested_irq(irq_to_desc(irq));
| ^~~~~~~~~~~~~~~~~~~
| handle_nested_irq
cc1: some warnings being treated as errors
vim +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: 31823 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210728/33c5615e/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list