[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190730093745.nh2wps2iwmrdf6al@willie-the-truck>
Date: Tue, 30 Jul 2019 10:37:46 +0100
From: Will Deacon <will@...nel.org>
To: Chuhong Yuan <hslester96@...il.com>
Cc: Catalin Marinas <catalin.marinas@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: Replace strncmp with str_has_prefix
On Tue, Jul 30, 2019 at 10:44:15AM +0800, Chuhong Yuan wrote:
> In commit b6b2735514bc
> ("tracing: Use str_has_prefix() instead of using fixed sizes")
> the newly introduced str_has_prefix() was used
> to replace error-prone strncmp(str, const, len).
> Here fix codes with the same pattern.
>
> Signed-off-by: Chuhong Yuan <hslester96@...il.com>
> ---
> arch/arm64/kernel/module-plts.c | 2 +-
> arch/arm64/mm/numa.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
I can pick this up for 5.4.
Will
Powered by blists - more mailing lists