https://github.com/torvalds/linux
Revision 5f14596e55de458987ee38043019b3d5cd636af1 authored by Chuhong Yuan on 30 July 2019, 03:02:39 UTC, committed by Matt Turner on 13 June 2020, 00:43:17 UTC
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>
1 parent 5bea304
History
Tip revision: 5f14596e55de458987ee38043019b3d5cd636af1 authored by Chuhong Yuan on 30 July 2019, 03:02:39 UTC
alpha: Replace strncmp with str_has_prefix
Tip revision: 5f14596
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.4 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 546.7 KB
Makefile -rw-r--r-- 60.9 KB
README -rw-r--r-- 727 bytes

README

back to top