diff options
| author | 2026-05-06 10:00:00 -0400 | |
|---|---|---|
| committer | 2026-10-27 14:51:24 -0400 | |
| commit | 0177067d195a4757149f6702af191987377c71c3 (patch) | |
| tree | 92bf5e1c251b3c7cf3ee7f273561aee76375f302 /scripts/Makefile.thinlto | |
| parent | x86_energy_perf_policy: Cleanup: Use snprintf() for platform-profile (diff) | |
x86_energy_perf_policy: Fix optarg keyword matching
Replace strncmp() with strcmp() for exact string matching in
parse_optarg_string(). Exact keyword matching is safer and clearer.
This prevents accidental matches with longer strings
like "performance-foo".
Fixes: 4beec1d75196 ("tools/power x86_energy_perf_policy: support HWP.EPP")
Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
