linux/drivers/hwmon/peci
Zev Weiss f00093608f 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 <zev@bewilderbeest.net>
Cc: stable@kernel.org # v5.18
Fixes: bf3608f338 ("hwmon: peci: Add cputemp driver")
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20230202021825.21486-1-zev@bewilderbeest.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-02-03 07:27:25 -08:00
..
common.h
cputemp.c hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation 2023-02-03 07:27:25 -08:00
dimmtemp.c hwmon: (dimmtemp) Fix bitmap handling 2022-05-22 11:32:32 -07:00
Kconfig
Makefile