Skip to content

hwmon: Various fixes

Guenter Roeck linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11hwmon: (aquacomputer_d5next) Check maxcollection when probing AQUAERO devicesdrivers/hwmon/aquacomputer_d5next.c+1 -10 replies
2/11hwmon: (asus_wmi_sensors) Avoid global struct mutationdrivers/hwmon/asus_wmi_sensors.c+5 -80 replies
3/11hwmon: (hp-wmi-sensors) Avoid global struct mutationdrivers/hwmon/hp-wmi-sensors.c+4 -71 reply
4/11hwmon: (hp-wmi-sensors) Fix unbounded loops in scale_numeric_sensor()drivers/hwmon/hp-wmi-sensors.c+12 -61 reply
5/11hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()drivers/hwmon/lm87.c+5 -20 replies
6/11hwmon: (nct6683) Fix incorrect struct cast in show_pwm() and store_pwm()drivers/hwmon/nct6683.c+2 -20 replies
7/11hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbinddrivers/hwmon/peci/dimmtemp.c+14 -71 reply
8/11hwmon: (pmbus/q54sj108a2) Add missing NULL pointer checkdrivers/hwmon/pmbus/q54sj108a2.c+2 -00 replies
9/11hwmon: (pmbus) Check return value from pmbus_thermal_add_sensor()drivers/hwmon/pmbus/pmbus_core.c+24 -180 replies
10/11hwmon: (pmbus) Release devres allocated memory after devm_thermal_of_zone_register errordrivers/hwmon/pmbus/pmbus_core.c+3 -10 replies
11/11hwmon: (pmbus) Fix return value check from thermal zone registrationdrivers/hwmon/pmbus/pmbus_core.c+4 -30 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchJames SeoIwona Winiarska
1/11
2/11
3/11A-b
4/11A-b
5/11
6/11
7/11R-b
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/11] hwmon: Various fixes

The patches in this series fix a number of issues reported by Sashiko.

All but the peci/dimmtemp patch were written the old fashioned way, not using LLM. I used gemini-4-carbon to implement the peci/dimmtemp patch.

All patches have been build tested and reviewed by Sashiko.

----------------------------------------------------------------
Guenter Roeck (11):
hwmon: (aquacomputer_d5next) Check maxcollection when probing AQUAERO devices
hwmon: (asus_wmi_sensors) Avoid global struct mutation
hwmon: (hp-wmi-sensors) Avoid global struct mutation
hwmon: (hp-wmi-sensors) Fix unbounded loops in scale_numeric_sensor()
hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()
hwmon: (nct6683) Fix incorrect struct cast in show_pwm() and store_pwm()
hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbind
hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check
hwmon: (pmbus) Check return value from pmbus_thermal_add_sensor()
hwmon: (pmbus) Release devres allocated memory after devm_thermal_of_zone_register error
hwmon: (pmbus) Fix return value check from thermal zone registration

 drivers/hwmon/aquacomputer_d5next.c |  2 +-
 drivers/hwmon/asus_wmi_sensors.c    | 13 ++++------
 drivers/hwmon/hp-wmi-sensors.c      | 29 +++++++++++----------
 drivers/hwmon/lm87.c                |  7 +++--
 drivers/hwmon/nct6683.c             |  4 +--
 drivers/hwmon/peci/dimmtemp.c       | 21 ++++++++++-----
 drivers/hwmon/pmbus/pmbus_core.c    | 51 ++++++++++++++++++++++---------------
 drivers/hwmon/pmbus/q54sj108a2.c    |  2 ++
 8 files changed, 75 insertions(+), 54 deletions(-)
Cc Aleksa Savic <[email protected]>
Cc Jack Doan <[email protected]>
Cc Ed Brindley <[email protected]>
Cc Denis Pauk <[email protected]>
Cc James Seo <[email protected]>
Cc Iwona Winiarska <[email protected]>