aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorZev Weiss <[email protected]>2023-02-01 18:18:25 -0800
committerGuenter Roeck <[email protected]>2023-02-03 07:27:25 -0800
commitf00093608fa790580da309bb9feb5108fbe7c331 (patch)
tree462d19b64dfe38d71caf22ce20341624f16a424d /tools/perf/scripts/python/bin
parent2fbb848b65cde5b876cce52ebcb34de4aaa5a94a (diff)
hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation
The find_last_bit() call produces the index of the highest-numbered core in core_mask; because cores are numbered from zero, the number of elements we need to allocate is one more than that. Signed-off-by: Zev Weiss <[email protected]> Cc: [email protected] # v5.18 Fixes: bf3608f338e9 ("hwmon: peci: Add cputemp driver") Reviewed-by: Iwona Winiarska <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions