From: Arnd Bergmann <arnd@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Serge Semin" <fancer.lancer@gmail.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
wangjianli <wangjianli@cdjrlc.com>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] irqchip: mips-gic: mark gic_irq_domain_free() static
Date: Thu, 10 Aug 2023 14:33:55 +0200 [thread overview]
Message-ID: <20230810123404.1222332-2-arnd@kernel.org> (raw)
In-Reply-To: <20230810123404.1222332-1-arnd@kernel.org>
From: Arnd Bergmann <arnd@arndb.de>
This function is only used locally and should be static to avoid a warning:
drivers/irqchip/irq-mips-gic.c:560:6: error: no previous prototype for 'gic_irq_domain_free' [-Werror=missing-prototypes]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/irqchip/irq-mips-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
index 6d5ecc10a8703..76253e864f230 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -557,7 +557,7 @@ static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq,
return gic_irq_domain_map(d, virq, hwirq);
}
-void gic_irq_domain_free(struct irq_domain *d, unsigned int virq,
+static void gic_irq_domain_free(struct irq_domain *d, unsigned int virq,
unsigned int nr_irqs)
{
}
--
2.39.2
next prev parent reply other threads:[~2023-08-10 12:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 12:33 [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy() Arnd Bergmann
2023-08-10 12:33 ` Arnd Bergmann [this message]
2023-08-10 14:52 ` [PATCH 2/3] irqchip: mips-gic: mark gic_irq_domain_free() static Philippe Mathieu-Daudé
2023-08-13 14:26 ` Serge Semin
2023-08-21 16:58 ` [irqchip: irq/irqchip-next] irqchip/mips-gic: Mark " irqchip-bot for Arnd Bergmann
2023-08-10 12:33 ` [PATCH 3/3] irqchip: i8259: mark i8259_of_init() static Arnd Bergmann
2023-08-21 16:58 ` [irqchip: irq/irqchip-next] irqchipr/i8259: Mark " irqchip-bot for Arnd Bergmann
2023-08-10 12:36 ` [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy() Max Filippov
2023-08-21 16:58 ` [irqchip: irq/irqchip-next] irqchip/xtensa-pic: Include " irqchip-bot for Arnd Bergmann
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=20230810123404.1222332-2-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=arnd@arndb.de \
--cc=fancer.lancer@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=maz@kernel.org \
--cc=philmd@linaro.org \
--cc=tglx@linutronix.de \
--cc=tsbogend@alpha.franken.de \
--cc=wangjianli@cdjrlc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox