Thread (1 message) 1 message, 1 author, 2020-12-11

Re: [PATCH] irqchip/loongson-htpic: Fix build warnings

From: Marc Zyngier <maz@kernel.org>
Date: 2020-12-11 15:38:27
Also in: linux-devicetree, linux-mips, lkml

On Sat, 5 Dec 2020 17:15:44 +0800, Huacai Chen wrote:
Fix build warnings as below:

   drivers/irqchip/irq-loongson-htpic.c: In function 'htpic_reg_init':
quoted
quoted
drivers/irqchip/irq-loongson-htpic.c:62:12: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      62 |   uint32_t val;
         |            ^~~
   drivers/irqchip/irq-loongson-htpic.c: At top level:
quoted
quoted
drivers/irqchip/irq-loongson-htpic.c:84:12: warning: no previous prototype for 'htpic_of_init' [-Wmissing-prototypes]
      84 | int __init htpic_of_init(struct device_node *node, struct device_node *parent)
         |            ^~~~~~~~~~~~~
Applied to irq/irqchip-next, thanks!

[1/1] irqchip/loongson-htpic: Fix build warnings
      commit: 3ee36352e26935c7e8145eb4e7ed38b536ca01fc

Cheers,

	M.
-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help