Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment