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 | 128c6fd2afa49d01a7aa9d51fb73bfd171e77316 (patch) | |
| tree | db1ad155ba5e45ccf5458a57845b39b8d06ef867 /scripts/Makefile.thinlto | |
| parent | 0177067d195a4757149f6702af191987377c71c3 (diff) | |
| download | linux-128c6fd2afa49d01a7aa9d51fb73bfd171e77316.tar.gz linux-128c6fd2afa49d01a7aa9d51fb73bfd171e77316.zip | |
x86_energy_perf_policy: Harden against potential ratio overflow
Prevent integer overflow in ratio_2_msr_perf() by using 64-bit
arithmetic for the intermediate multiplication calculation.
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
