Skip to content
Commit b3e089cd authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Will Deacon
Browse files

arm64: Replace strncmp with str_has_prefix



In commit b6b27355
("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: default avatarChuhong Yuan <hslester96@gmail.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 3e77eeb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment