linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static
@ 2020-04-17  7:40 Jason Yan
  2020-04-17  9:56 ` [tip: irq/urgent] irqchip/irq-mvebu-icu: Make " tip-bot2 for Jason Yan
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-17  7:40 UTC (permalink / raw)
  To: jason, andrew, gregory.clement, sebastian.hesselbarth, tglx, maz,
	linux-arm-kernel, linux-kernel
  Cc: Jason Yan, Hulk Robot

Fix the following sparse warning:

drivers/irqchip/irq-mvebu-icu.c:69:1: warning: symbol 'legacy_bindings'
was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/irqchip/irq-mvebu-icu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c
index 547045d89c4b..91adf771f185 100644
--- a/drivers/irqchip/irq-mvebu-icu.c
+++ b/drivers/irqchip/irq-mvebu-icu.c
@@ -66,7 +66,7 @@ struct mvebu_icu_irq_data {
 	unsigned int type;
 };
 
-DEFINE_STATIC_KEY_FALSE(legacy_bindings);
+static DEFINE_STATIC_KEY_FALSE(legacy_bindings);
 
 static void mvebu_icu_init(struct mvebu_icu *icu,
 			   struct mvebu_icu_msi_data *msi_data,
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip: irq/urgent] irqchip/irq-mvebu-icu: Make legacy_bindings static
  2020-04-17  7:40 [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static Jason Yan
@ 2020-04-17  9:56 ` tip-bot2 for Jason Yan
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Jason Yan @ 2020-04-17  9:56 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Hulk Robot, Jason Yan, Marc Zyngier, x86, LKML

The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     9fed9ccb16de9b18ba843d2df57312c9b8260f96
Gitweb:        https://git.kernel.org/tip/9fed9ccb16de9b18ba843d2df57312c9b8260f96
Author:        Jason Yan <yanaijie@huawei.com>
AuthorDate:    Fri, 17 Apr 2020 15:40:46 +08:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Fri, 17 Apr 2020 08:59:29 +01:00

irqchip/irq-mvebu-icu: Make legacy_bindings static

Fix the following sparse warning:

drivers/irqchip/irq-mvebu-icu.c:69:1: warning: symbol 'legacy_bindings'
was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200417074046.46771-1-yanaijie@huawei.com
---
 drivers/irqchip/irq-mvebu-icu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c
index 547045d..91adf77 100644
--- a/drivers/irqchip/irq-mvebu-icu.c
+++ b/drivers/irqchip/irq-mvebu-icu.c
@@ -66,7 +66,7 @@ struct mvebu_icu_irq_data {
 	unsigned int type;
 };
 
-DEFINE_STATIC_KEY_FALSE(legacy_bindings);
+static DEFINE_STATIC_KEY_FALSE(legacy_bindings);
 
 static void mvebu_icu_init(struct mvebu_icu *icu,
 			   struct mvebu_icu_msi_data *msi_data,

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-17  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17  7:40 [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static Jason Yan
2020-04-17  9:56 ` [tip: irq/urgent] irqchip/irq-mvebu-icu: Make " tip-bot2 for Jason Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).