diff options
author | Huacai Chen <chenhuacai@kernel.org> | 2020-12-05 12:15:44 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-12-11 17:40:17 +0300 |
commit | 3ee36352e26935c7e8145eb4e7ed38b536ca01fc (patch) | |
tree | 4a9f5159a8f515170d6f360eb6635020d93bd732 /drivers/irqchip/irq-mtk-sysirq.c | |
parent | 42a590b0fdf72498ebf47b01ddf006ee92cbfc70 (diff) | |
download | linux-3ee36352e26935c7e8145eb4e7ed38b536ca01fc.tar.xz |
irqchip/loongson-htpic: Fix build warnings
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)
| ^~~~~~~~~~~~~
Fixes: a93f1d903fa34fc2c5d9fa450bd ("irqchip: Add driver for Loongson-3 HyperTransport PIC controller")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1607159744-995-1-git-send-email-chenhuacai@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-mtk-sysirq.c')
0 files changed, 0 insertions, 0 deletions