[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e5de3724-ea9d-45a5-8f08-98ff325d055f@csgroup.eu>
Date: Fri, 30 Apr 2021 10:51:45 +0200
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Daniel Walker <danielwa@...co.com>, linuxppc-dev@...ts.ozlabs.org,
x86@...nel.org, Andrew Morton <akpm@...ux-foundation.org>
Cc: xe-linux-external@...co.com, Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] powerpc: prom_init: switch to early string functions
Le 30/04/2021 à 06:22, Daniel Walker a écrit :
> This converts the prom_init string users to the early string function
> which don't suffer from KASAN or any other debugging enabled.
>
> Cc: xe-linux-external@...co.com
> Signed-off-by: Daniel Walker <danielwa@...co.com>
> ---
> arch/powerpc/kernel/prom_init.c | 185 ++++++-------------------
> arch/powerpc/kernel/prom_init_check.sh | 9 +-
> 2 files changed, 51 insertions(+), 143 deletions(-)
>
> diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
> index ccf77b985c8f..4d4343da1280 100644
> --- a/arch/powerpc/kernel/prom_init.c
> +++ b/arch/powerpc/kernel/prom_init.c
> @@ -225,105 +225,6 @@ static bool __prombss rtas_has_query_cpu_stopped;
> #define PHANDLE_VALID(p) ((p) != 0 && (p) != PROM_ERROR)
> #define IHANDLE_VALID(i) ((i) != 0 && (i) != PROM_ERROR)
>
> -/* Copied from lib/string.c and lib/kstrtox.c */
Please leave the second part of the comment as you have not removed prom_strtobool()
Powered by blists - more mailing lists