commit | b3e089cd446b26bb1e12860e1afb9da314453fd6 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Tue Jul 30 10:44:15 2019 +0800 |
committer | Will Deacon <will@kernel.org> | Mon Aug 05 11:06:34 2019 +0100 |
tree | 94f0e816bed86c93cbd7d2d6ee36ac5fc05707b5 | |
parent | 3e77eeb7a27fc3dcf6b65e7ee01ac00bf5d2b4fb [diff] |
arm64: 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: Will Deacon <will@kernel.org>