lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZtAzSVE6vnwfWpKt@alpha.franken.de>
Date: Thu, 29 Aug 2024 10:37:29 +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 1/2] MIPS: ralink: Fix missing `plat_time_init` prototype

On Mon, Aug 12, 2024 at 03:17:42PM +0200, Vincent Legoll wrote:
> Fix the following warning:
> 
>   CC      arch/mips/ralink/timer-gic.o
> arch/mips/ralink/timer-gic.c:18:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes]
>    18 | void __init plat_time_init(void)
>       |             ^~~~~~~~~~~~~~
> 
> Signed-off-by: Vincent Legoll <vincent.legoll@...il.com>
> ---
>  arch/mips/ralink/timer-gic.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/mips/ralink/timer-gic.c b/arch/mips/ralink/timer-gic.c
> index dcf2a44ac51e..926082655a78 100644
> --- a/arch/mips/ralink/timer-gic.c
> +++ b/arch/mips/ralink/timer-gic.c
> @@ -11,6 +11,8 @@
>  #include <linux/of_clk.h>
>  #include <linux/clocksource.h>
>  
> +#include <asm/time.h>
> +
>  #include "common.h"
>  
>  void __init plat_time_init(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

Powered by Openwall GNU/*/Linux Powered by OpenVZ