commit | 5f14596e55de458987ee38043019b3d5cd636af1 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Tue Jul 30 11:02:39 2019 +0800 |
committer | Matt Turner <mattst88@gmail.com> | Fri Jun 12 17:43:17 2020 -0700 |
tree | a00ed0e15cdef3dea659cac659d95c2ae30e2ccc | |
parent | 5bea3044a74acb3d780288c0fecd0eb25bdda24d [diff] |
alpha: 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: Matt Turner <mattst88@gmail.com>