alpha: Replace strncmp with str_has_prefix

In commit b6b2735514
("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: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Chuhong Yuan 2019-07-30 11:02:39 +08:00 • committed by Matt Turner
commit 5f14596e55
2 changed files with 2 additions and 2 deletions