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

Marc Zyngier maz at kernel.org
Fri Dec 11 10:01:33 EST 2020


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':
> >> 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:
> >> 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.





More information about the linux-arm-kernel mailing list