All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michal Simek <monstr@monstr.eu>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Stefan Asserhall <stefan.asserhall@xilinx.com>
Subject: [xlnx:xlnx_rebase_v5.4 1172/1762] drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_irq'?
Date: Wed, 16 Jun 2021 10:18:09 +0800	[thread overview]
Message-ID: <202106161002.wHBubpS0-lkp@intel.com> (raw)

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

Hi Michal,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   d128303e4c53bcf7775c46771bf64c71596f3303
commit: 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf [1172/1762] irqchip: xilinx: Use handle_domain_irq()
config: i386-allyesconfig (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=i386 

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-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 'handle_irq'? [-Werror=implicit-function-declaration]
     280 |   set_handle_irq(xil_intc_handle_irq);
         |   ^~~~~~~~~~~~~~
         |   handle_irq
   cc1: some warnings being treated as errors


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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xlnx:xlnx_rebase_v5.4 1172/1762] drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_irq'?
Date: Wed, 16 Jun 2021 10:18:09 +0800	[thread overview]
Message-ID: <202106161002.wHBubpS0-lkp@intel.com> (raw)

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

Hi Michal,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   d128303e4c53bcf7775c46771bf64c71596f3303
commit: 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf [1172/1762] irqchip: xilinx: Use handle_domain_irq()
config: i386-allyesconfig (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=i386 

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-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 'handle_irq'? [-Werror=implicit-function-declaration]
     280 |   set_handle_irq(xil_intc_handle_irq);
         |   ^~~~~~~~~~~~~~
         |   handle_irq
   cc1: some warnings being treated as errors


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(a)lists.01.org

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

             reply	other threads:[~2021-06-16  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16  2:18 kernel test robot [this message]
2021-06-16  2:18 ` [xlnx:xlnx_rebase_v5.4 1172/1762] 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106161002.wHBubpS0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=stefan.asserhall@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.