diff options
author | 2022-04-26 14:10:24 +0100 | |
---|---|---|
committer | 2022-07-28 14:23:25 -0400 | |
commit | e13da9a1dbe4c97431286660ec35eceb50003bb3 (patch) | |
tree | e64d89256a499b1300b604ad689e60e9f8e5e220 /include/linux/writeback.h | |
parent | tools/power turbostat: print the kernel boot commandline (diff) | |
download | linux-rng-e13da9a1dbe4c97431286660ec35eceb50003bb3.tar.xz linux-rng-e13da9a1dbe4c97431286660ec35eceb50003bb3.zip |
tools/power turbostat: replace strncmp with single character compare
Using strncmp for a single character comparison is overly complicated,
just use a simpler single character comparison instead. Also stops
static analyzers (such as cppcheck) from complaining about strncmp on
non-null terminated strings.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions