linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2021-05-13 14:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-13 14:05 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2566 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30082 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-13 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 14:05 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).