[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZtAzWeLojUP9cKJC@alpha.franken.de>
Date: Thu, 29 Aug 2024 10:37:45 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Vincent Legoll <vincent.legoll@...il.com>
Cc: John Crispin <john@...ozen.org>,
Sergio Paracuellos <sergio.paracuellos@...il.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] MIPS: ralink: Fix missing `get_c0_perfcount_int`
prototype
On Mon, Aug 12, 2024 at 03:17:43PM +0200, Vincent Legoll wrote:
> Fix the following warning:
>
> CC arch/mips/ralink/irq-gic.o
> arch/mips/ralink/irq-gic.c:15:5: warning: no previous prototype for 'get_c0_perfcount_int' [-Wmissing-prototypes]
> 15 | int get_c0_perfcount_int(void)
> | ^~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Vincent Legoll <vincent.legoll@...il.com>
> ---
> arch/mips/ralink/irq-gic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/mips/ralink/irq-gic.c b/arch/mips/ralink/irq-gic.c
> index 3bab51a5fb4c..8bc566ea00e5 100644
> --- a/arch/mips/ralink/irq-gic.c
> +++ b/arch/mips/ralink/irq-gic.c
> @@ -10,6 +10,7 @@
> #include <linux/of.h>
> #include <linux/irqchip.h>
> #include <asm/mips-cps.h>
> +#include <asm/time.h>
>
> int get_c0_perfcount_int(void)
> {
> --
> 2.46.0
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists