aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-02 09:46:56 +0800
committerPaul E. McKenney <paulmck@kernel.org>2019-10-05 11:48:38 -0700
commitc5d3c8ca22d487ad9a18da9a7722a76e9bdbf4fd (patch)
treec5c2062bfe2b3c47f33211adc11465eb4bc7228a /tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt
parentrcu: Remove unused function rcutorture_record_progress() (diff)
downloadlinux-dev-c5d3c8ca22d487ad9a18da9a7722a76e9bdbf4fd.tar.xz
linux-dev-c5d3c8ca22d487ad9a18da9a7722a76e9bdbf4fd.zip
locktorture: Replace strncmp() with str_has_prefix()
The strncmp() function is error-prone because it is easy to get the length wrong, especially if the string is subject to change, especially given the need to account for the terminating nul byte. This commit therefore substitutes the newly introduced str_has_prefix(), which does not require a separately specified length. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions