aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-04-26 14:10:24 +0100
committerLen Brown <len.brown@intel.com>2022-07-28 14:23:25 -0400
commite13da9a1dbe4c97431286660ec35eceb50003bb3 (patch)
treee64d89256a499b1300b604ad689e60e9f8e5e220 /include/linux/writeback.h
parenttools/power turbostat: print the kernel boot commandline (diff)
downloadlinux-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