[PATCH 0/2] hwmon: (peci/cputemp) Fix temp*_crit_hyst and cputemp_is_visible() bounds check

Pradhan, Sanman posted 2 patches 1 week, 4 days ago
Documentation/hwmon/peci-cputemp.rst | 10 ++++++----
drivers/hwmon/peci/cputemp.c         |  4 ++--
2 files changed, 8 insertions(+), 6 deletions(-)
[PATCH 0/2] hwmon: (peci/cputemp) Fix temp*_crit_hyst and cputemp_is_visible() bounds check
Posted by Pradhan, Sanman 1 week, 4 days ago
From: Sanman Pradhan <psanman@juniper.net>

Two fixes for the peci cputemp driver:

1. Fix tempN_crit_hyst returning a delta instead of the absolute
   temperature required by the hwmon sysfs ABI.
2. Fix an off-by-one in cputemp_is_visible() so an invalid channel 
   index is correctly rejected before indexing the core bitmap.

Sanman Pradhan (2):
  hwmon: (peci/cputemp) Fix crit_hyst returning delta instead of
    absolute temperature
  hwmon: (peci/cputemp) Fix off-by-one in cputemp_is_visible()

 Documentation/hwmon/peci-cputemp.rst | 10 ++++++----
 drivers/hwmon/peci/cputemp.c         |  4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

-- 
2.34.1