[arm-platforms:irq/generic_handle_domain_irq 17/22] kernel/irq/irqdesc.c:679:6: error: conflicting types for 'handle_nested_domain_irq'

kernel test robot lkp at intel.com
Tue Jul 27 12:13:08 PDT 2021


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 <lkp at intel.com>

All errors (new ones prefixed by >>):

>> 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':
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33991 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210728/1bac5007/attachment-0001.gz>


More information about the linux-arm-kernel mailing list