All of lore.kernel.org
 help / color / mirror / Atom feed
From: "tip-bot2 for Jason Yan" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Hulk Robot <hulkci@huawei.com>, Jason Yan <yanaijie@huawei.com>,
	Marc Zyngier <maz@kernel.org>, x86 <x86@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [tip: irq/urgent] irqchip/irq-bcm7038-l1: Make bcm7038_l1_of_init() static
Date: Fri, 17 Apr 2020 09:56:42 -0000	[thread overview]
Message-ID: <158711740277.28353.2774114664559504088.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20200417074036.46594-1-yanaijie@huawei.com>

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

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

irqchip/irq-bcm7038-l1: Make bcm7038_l1_of_init() static

Fix the following sparse warning:

drivers/irqchip/irq-bcm7038-l1.c:419:12: warning: symbol
'bcm7038_l1_of_init' 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/20200417074036.46594-1-yanaijie@huawei.com
---
 drivers/irqchip/irq-bcm7038-l1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c
index eb9bce9..fd7c537 100644
--- a/drivers/irqchip/irq-bcm7038-l1.c
+++ b/drivers/irqchip/irq-bcm7038-l1.c
@@ -416,7 +416,7 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = {
 	.map			= bcm7038_l1_map,
 };
 
-int __init bcm7038_l1_of_init(struct device_node *dn,
+static int __init bcm7038_l1_of_init(struct device_node *dn,
 			      struct device_node *parent)
 {
 	struct bcm7038_l1_chip *intc;

  reply	other threads:[~2020-04-17  9:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17  7:40 [PATCH] irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static Jason Yan
2020-04-17  9:56 ` tip-bot2 for Jason Yan [this message]
2020-04-17 10:26 ` Sergei Shtylyov
2020-04-17 10:56   ` Jason Yan
2020-04-17 11:07     ` Marc Zyngier
2020-04-17 11:10       ` Jason Yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=158711740277.28353.2774114664559504088.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=hulkci@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=x86@kernel.org \
    --cc=yanaijie@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.