summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-05-06 10:00:00 -0400
committerLen Brown <len.brown@intel.com>2026-10-27 14:51:24 -0400
commit0aaac38a0d770c9291c4c96298966a7cf73a0194 (patch)
tree7db634405d8c6128be3e5b91b8dfbe4e206cb56e /scripts/Makefile.thinlto
parent74bd795c99e4ca8c4d9b35ae7294b535f49689a3 (diff)
downloadlinux-0aaac38a0d770c9291c4c96298966a7cf73a0194.tar.gz
linux-0aaac38a0d770c9291c4c96298966a7cf73a0194.zip
x86_energy_perf_policy: Harden with strtol()
Replace atoi() with strtol() and proper error checking when parsing the --hwp-use-pkg command-line argument value, and other spots. Add explicit check that value is in valid range [0, 1]. Update associated error message strings. parse_optarg_string() now returns long, as returned from strtol(). Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions