diff options
| author | Len Brown <len.brown@intel.com> | 2026-05-06 10:00:00 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-10-27 14:51:24 -0400 |
| commit | d865b3810bb1c2a0f9b92f1162f48ce547db8bae (patch) | |
| tree | 99d82d710acd8c5d5f8ef33bc2e2b7f43700c81a /scripts/Makefile.thinlto | |
| parent | 128c6fd2afa49d01a7aa9d51fb73bfd171e77316 (diff) | |
| download | linux-d865b3810bb1c2a0f9b92f1162f48ce547db8bae.tar.gz linux-d865b3810bb1c2a0f9b92f1162f48ce547db8bae.zip | |
x86_energy_perf_policy: Bound package iteration
Add explicit bounds checking against MAX_PACKAGES in for_packages()
to prevent potential out-of-bounds bit shift operations.
Also, use consistent shift idiom: (1ULL << pkg_num)
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
