linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 1172/1701] drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_irq'?
@ 2021-04-01 23:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-01 23:56 UTC (permalink / raw)
  To: Michal Simek; +Cc: kbuild-all, linux-arm-kernel, Stefan Asserhall

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

Hi Michal,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   8540825db3d5519ef205a710515b7819b95eeb4f
commit: 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf [1172/1701] irqchip: xilinx: Use handle_domain_irq()
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf
        # save the attached .config to linux build tree
        make W=1 ARCH=um 

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

   cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
   drivers/irqchip/irq-xilinx-intc.c: In function 'xil_intc_handle_irq':
>> drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_irq'? [-Werror=implicit-function-declaration]
     170 |    ret = handle_domain_irq(irqc->root_domain, hwirq, regs);
         |          ^~~~~~~~~~~~~~~~~
         |          handle_bad_irq
   drivers/irqchip/irq-xilinx-intc.c: In function 'xilinx_intc_of_init':
   drivers/irqchip/irq-xilinx-intc.c:280:3: error: implicit declaration of function 'set_handle_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
     280 |   set_handle_irq(xil_intc_handle_irq);
         |   ^~~~~~~~~~~~~~
         |   generic_handle_irq
   cc1: some warnings being treated as errors

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for UIO_DMEM_GENIRQ
   Depends on UIO && HAS_DMA
   Selected by
   - UIO_XILINX_AI_ENGINE && UIO


vim +170 drivers/irqchip/irq-xilinx-intc.c

   160	
   161	static void xil_intc_handle_irq(struct pt_regs *regs)
   162	{
   163		int ret;
   164		unsigned int hwirq, cpu_id = smp_processor_id();
   165		struct xintc_irq_chip *irqc = per_cpu_ptr(&primary_intc, cpu_id);
   166	
   167		do {
   168			hwirq = irqc->read_fn(irqc->base + IVR);
   169			if (hwirq != -1U) {
 > 170				ret = handle_domain_irq(irqc->root_domain, hwirq, regs);
   171				WARN_ONCE(ret, "cpu %d: Unhandled HWIRQ %d\n",
   172					  cpu_id, hwirq);
   173				continue;
   174			}
   175	
   176			break;
   177		} while (1);
   178	}
   179	

---
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: 22043 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-04-02  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 23:56 [xlnx:xlnx_rebase_v5.4 1172/1701] drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_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).