Messages in this thread | | | Date | Tue, 30 Jul 2019 10:37:46 +0100 | From | Will Deacon <> | 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@gmail.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
| |