[arm-platforms:irq/irqchip-fixes 6/6] arch/mips/kernel/irq.c:118:9: error: implicit declaration of function 'irq_resolve_mapping'; did you mean 'irq_dispose_mapping'?

kernel test robot lkp at intel.com
Thu Jul 8 15:27:21 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-fixes
head:   f333d6bc4a8b2ef6c999e46c508d50277baddcd6
commit: f333d6bc4a8b2ef6c999e46c508d50277baddcd6 [6/6] irqchip/mips: Fix RCU violation when using irqdomain lookup on interrupt entry
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=f333d6bc4a8b2ef6c999e46c508d50277baddcd6
        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/irqchip-fixes
        git checkout f333d6bc4a8b2ef6c999e46c508d50277baddcd6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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

All error/warnings (new ones prefixed by >>):

   arch/mips/kernel/irq.c: In function 'do_domain_IRQ':
>> arch/mips/kernel/irq.c:118:9: error: implicit declaration of function 'irq_resolve_mapping'; did you mean 'irq_dispose_mapping'? [-Werror=implicit-function-declaration]
     118 |  desc = irq_resolve_mapping(domain, hwirq);
         |         ^~~~~~~~~~~~~~~~~~~
         |         irq_dispose_mapping
>> arch/mips/kernel/irq.c:118:7: warning: assignment to 'struct irq_desc *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     118 |  desc = irq_resolve_mapping(domain, hwirq);
         |       ^
   cc1: some warnings being treated as errors


vim +118 arch/mips/kernel/irq.c

   110	
   111	void __irq_entry do_domain_IRQ(struct irq_domain *domain, unsigned int hwirq)
   112	{
   113		struct irq_desc *desc;
   114	
   115		irq_enter();
   116		check_stack_overflow();
   117	
 > 118		desc = irq_resolve_mapping(domain, hwirq);

---
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: 12187 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210709/359f91cb/attachment-0001.gz>


More information about the linux-arm-kernel mailing list