]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/mips-gic: Make local symbols static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 14 Jul 2020 14:22:45 +0000 (22:22 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 27 Jul 2020 07:55:02 +0000 (08:55 +0100)
commit0a201da5a6b83ee3f9a89ea61d7ee49ba26e8aa3
tree28e021c28ef90543eea315b1b4b16a7c92ac873a
parent80a1b2645173f326055183e570ef6ceb78387e1a
irqchip/mips-gic: Make local symbols static

The sparse tool complains as follows:

drivers/irqchip/irq-mips-gic.c:49:1: warning:
 symbol '__pcpu_scope_pcpu_masks' was not declared. Should it be static?
drivers/irqchip/irq-mips-gic.c:620:6: warning:
 symbol 'gic_ipi_domain_free' was not declared. Should it be static?
drivers/irqchip/irq-mips-gic.c:634:5: warning:
 symbol 'gic_ipi_domain_match' was not declared. Should it be static?

Those symbols are not used outside of irq-mips-gic.c, so marks
them static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200714142245.16124-1-weiyongjun1@huawei.com
drivers/irqchip/irq-mips-gic.c