* [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt'
@ 2020-05-30 11:28 kbuild test robot
2020-05-30 12:45 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-05-30 11:28 UTC (permalink / raw)
To: Jiaxun, Yang,; +Cc: Marc Zyngier, kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-next
head: da10a4b626657387845f32d37141fc7d48ebbdb3
commit: 818e915fbac518e8c78e1877a0048d92d4965e5a [16/21] irqchip: Add Loongson HyperTransport Vector support
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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
git checkout 818e915fbac518e8c78e1877a0048d92d4965e5a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/irqchip/irq-loongson-htvec.c: In function 'htvec_irq_dispatch':
>> drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' [-Werror=implicit-function-declaration]
59 | spurious_interrupt();
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/spurious_interrupt +59 drivers/irqchip/irq-loongson-htvec.c
35
36 static void htvec_irq_dispatch(struct irq_desc *desc)
37 {
38 int i;
39 u32 pending;
40 bool handled = false;
41 struct irq_chip *chip = irq_desc_get_chip(desc);
42 struct htvec *priv = irq_desc_get_handler_data(desc);
43
44 chained_irq_enter(chip, desc);
45
46 for (i = 0; i < VEC_REG_COUNT; i++) {
47 pending = readl(priv->base + 4 * i);
48 while (pending) {
49 int bit = __ffs(pending);
50
51 generic_handle_irq(irq_linear_revmap(priv->htvec_domain, bit +
52 VEC_COUNT_PER_REG * i));
53 pending &= ~BIT(bit);
54 handled = true;
55 }
56 }
57
58 if (!handled)
> 59 spurious_interrupt();
60
61 chained_irq_exit(chip, desc);
62 }
63
---
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: 73989 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] 2+ messages in thread
* Re: [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt'
2020-05-30 11:28 [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' kbuild test robot
@ 2020-05-30 12:45 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2020-05-30 12:45 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-arm-kernel, Jiaxun, Yang,
On Sat, 30 May 2020 12:28:47 +0100,
kbuild test robot <lkp@intel.com> wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-next
> head: da10a4b626657387845f32d37141fc7d48ebbdb3
> commit: 818e915fbac518e8c78e1877a0048d92d4965e5a [16/21] irqchip: Add Loongson HyperTransport Vector support
> config: arm-allyesconfig (attached as .config)
> compiler: arm-linux-gnueabi-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
> git checkout 818e915fbac518e8c78e1877a0048d92d4965e5a
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> drivers/irqchip/irq-loongson-htvec.c: In function 'htvec_irq_dispatch':
> >> drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' [-Werror=implicit-function-declaration]
> 59 | spurious_interrupt();
> | ^~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
Meh, yet another MIPS special.
I've dropped the COMPILE_TEST dependency, and pushed out this fix [1].
Thanks a lot for the report.
M.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=4a786cc36028b1917c823993a325eb09c2863ab7
--
Without deviation from the norm, progress is not possible.
_______________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2020-05-30 12:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 11:28 [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' kbuild test robot
2020-05-30 12:45 ` Marc Zyngier
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).