Re: [PATCH] irqchip/loongson-htpic: Fix build warnings
From: Marc Zyngier
Date: Fri Dec 11 2020 - 10:04:12 EST
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.