arm64: Replace strncmp with str_has_prefix
authorChuhong Yuan <hslester96@gmail.com>
Tue, 30 Jul 2019 02:44:15 +0000 (10:44 +0800)
committerWill Deacon <will@kernel.org>
Mon, 5 Aug 2019 10:06:34 +0000 (11:06 +0100)
commitb3e089cd446b26bb1e12860e1afb9da314453fd6
tree94f0e816bed86c93cbd7d2d6ee36ac5fc05707b5
parent3e77eeb7a27fc3dcf6b65e7ee01ac00bf5d2b4fb
arm64: Replace strncmp with str_has_prefix

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>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/module-plts.c
arch/arm64/mm/numa.c