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>
|
||
|---|---|---|
| .. | ||
| tools | ||
| bootloader.lds | ||
| bootp.c | ||
| bootpz.c | ||
| head.S | ||
| main.c | ||
| Makefile | ||
| misc.c | ||
| stdio.c | ||