Skip to content
Commit 5f14596e authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Matt Turner
Browse files

alpha: 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 avatarMatt Turner <mattst88@gmail.com>
parent 5bea3044
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment