From: Stefan Wahren <wahrenst@gmx.net> To: Thomas Gleixner <tglx@linutronix.de>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Cc: kernel@pengutronix.de, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Stefan Wahren <wahrenst@gmx.net>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH] irqchip/mxs: Declare icoll_handle_irq() as static Date: Fri, 12 Apr 2024 23:53:34 +0200 [thread overview] Message-ID: <20240412215334.33946-1-wahrenst@gmx.net> (raw) After commit 5bb578a0c1b8 ("ARM: 9298/1: Drop custom mdesc->handle_irq()") the function icoll_handle_irq() is only defined within irq-mxs.c . So declare it as static to fix the warning about a missing prototype when building with W=1. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stefan Wahren <wahrenst@gmx.net> --- drivers/irqchip/irq-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index be9680645545..19fc0bac76bf 100644 --- a/drivers/irqchip/irq-mxs.c +++ b/drivers/irqchip/irq-mxs.c @@ -130,7 +130,7 @@ static struct irq_chip asm9260_icoll_chip = { IRQCHIP_SKIP_SET_WAKE, }; -asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) { u32 irqnr; -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Stefan Wahren <wahrenst@gmx.net> To: Thomas Gleixner <tglx@linutronix.de>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Cc: kernel@pengutronix.de, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Stefan Wahren <wahrenst@gmx.net>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH] irqchip/mxs: Declare icoll_handle_irq() as static Date: Fri, 12 Apr 2024 23:53:34 +0200 [thread overview] Message-ID: <20240412215334.33946-1-wahrenst@gmx.net> (raw) After commit 5bb578a0c1b8 ("ARM: 9298/1: Drop custom mdesc->handle_irq()") the function icoll_handle_irq() is only defined within irq-mxs.c . So declare it as static to fix the warning about a missing prototype when building with W=1. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stefan Wahren <wahrenst@gmx.net> --- drivers/irqchip/irq-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index be9680645545..19fc0bac76bf 100644 --- a/drivers/irqchip/irq-mxs.c +++ b/drivers/irqchip/irq-mxs.c @@ -130,7 +130,7 @@ static struct irq_chip asm9260_icoll_chip = { IRQCHIP_SKIP_SET_WAKE, }; -asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) { u32 irqnr; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2024-04-12 21:55 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-12 21:53 Stefan Wahren [this message] 2024-04-12 21:53 ` [PATCH] irqchip/mxs: Declare icoll_handle_irq() as static Stefan Wahren
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=20240412215334.33946-1-wahrenst@gmx.net \ --to=wahrenst@gmx.net \ --cc=festevam@gmail.com \ --cc=imx@lists.linux.dev \ --cc=kernel@pengutronix.de \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=s.hauer@pengutronix.de \ --cc=shawnguo@kernel.org \ --cc=tglx@linutronix.de \ /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: linkBe 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.