mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
e13da9a1db
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> |
||
---|---|---|
.. | ||
amd_pstate_tracer | ||
intel_pstate_tracer | ||
intel-speed-select | ||
turbostat | ||
x86_energy_perf_policy |