[arm-platforms:irq/generic_handle_domain_irq 17/22] kernel/irq/irqdesc.c:679:6: error: conflicting types for 'handle_nested_domain_irq'
From: kernel test robot <hidden>
Date: 2021-07-27 19:15:23
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/generic_handle_domain_irq head: d3126d1af248cba3b70342748d77c2825f37eec2 commit: c0279d786ada3daa6c234a48631bf45a5a098579 [17/22] genirq: Implement handle_nested_domain_irq() config: csky-randconfig-s032-20210727 (attached as .config) compiler: csky-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=c0279d786ada3daa6c234a48631bf45a5a098579 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 c0279d786ada3daa6c234a48631bf45a5a098579 # 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__' O=build_dir ARCH=csky SHELL=/bin/bash drivers/gpio/ kernel/irq/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>):
quoted
kernel/irq/irqdesc.c:679:6: error: conflicting types for 'handle_nested_domain_irq'
679 | void handle_nested_domain_irq(struct irq_domain *domain, unsigned int hwirq)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/irq.h:586,
from kernel/irq/irqdesc.c:10:
include/linux/irqdesc.h:171:5: note: previous declaration of 'handle_nested_domain_irq' was here
171 | int handle_nested_domain_irq(struct irq_domain *domain, unsigned int hwirq);
| ^~~~~~~~~~~~~~~~~~~~~~~~
kernel/irq/irqdesc.c: In function 'handle_nested_domain_irq':quoted
kernel/irq/irqdesc.c:684:3: error: implicit declaration of function '__handle_nested_irq_desc'; did you mean '__handle_nested_irq'? [-Werror=implicit-function-declaration]
684 | __handle_nested_irq_desc(desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| __handle_nested_irq
cc1: some warnings being treated as errors
vim +/handle_nested_domain_irq +679 kernel/irq/irqdesc.c
678
> 679 void handle_nested_domain_irq(struct irq_domain *domain, unsigned int hwirq)
680 {
681 struct irq_desc *desc = irq_resolve_mapping(domain, hwirq);
682
683 if (likely(desc))
> 684 __handle_nested_irq_desc(desc);
685 }
686 EXPORT_SYMBOL_GPL(handle_nested_domain_irq);
687
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 33991 bytes
- (unnamed) [text/plain] 176 bytes · preview