[arm-platforms:irq/domain_cleanup 15/17] drivers/irqchip/irq-ingenic-tcu.c:41:3: error: implicit declaration of function 'generic_handle_domain_irq'; did you mean 'generic_handle_irq'?

kernel test robot lkp at intel.com
Thu May 13 07:05:02 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head:   d4796f65d6c7a6e596dbccb03d6e1141a63e49f9
commit: 1a76591eb226405218fe20143f3ed39f15911caf [15/17] irqchip: Bulk conversion to generic_handle_domain_irq()
config: sparc-randconfig-r023-20210513 (attached as .config)
compiler: sparc64-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=1a76591eb226405218fe20143f3ed39f15911caf
        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/domain_cleanup
        git checkout 1a76591eb226405218fe20143f3ed39f15911caf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=sparc 

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 >>):

   drivers/irqchip/irq-ingenic-tcu.c: In function 'ingenic_tcu_intc_cascade':
>> drivers/irqchip/irq-ingenic-tcu.c:41:3: error: implicit declaration of function 'generic_handle_domain_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
      41 |   generic_handle_domain_irq(domain, i);
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~
         |   generic_handle_irq
   cc1: some warnings being treated as errors


vim +41 drivers/irqchip/irq-ingenic-tcu.c

    23	
    24	static void ingenic_tcu_intc_cascade(struct irq_desc *desc)
    25	{
    26		struct irq_chip *irq_chip = irq_data_get_irq_chip(&desc->irq_data);
    27		struct irq_domain *domain = irq_desc_get_handler_data(desc);
    28		struct irq_chip_generic *gc = irq_get_domain_generic_chip(domain, 0);
    29		struct regmap *map = gc->private;
    30		uint32_t irq_reg, irq_mask;
    31		unsigned int i;
    32	
    33		regmap_read(map, TCU_REG_TFR, &irq_reg);
    34		regmap_read(map, TCU_REG_TMR, &irq_mask);
    35	
    36		chained_irq_enter(irq_chip, desc);
    37	
    38		irq_reg &= ~irq_mask;
    39	
    40		for_each_set_bit(i, (unsigned long *)&irq_reg, 32)
  > 41			generic_handle_domain_irq(domain, i);
    42	
    43		chained_irq_exit(irq_chip, desc);
    44	}
    45	

---
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: 30082 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210513/87cab5f0/attachment-0001.gz>


More information about the linux-arm-kernel mailing list