[GIT PULL] Thermal control fixes for v6.11-rc5
From: Rafael J. Wysocki
Date: Fri Aug 23 2024 - 10:38:05 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.11-rc5
with top-most commit c0a1ef9c5be72ff28a5413deb1b3e1a066593c13
thermal: of: Fix OF node leak in of_thermal_zone_find() error paths
on top of commit 47ac09b91befbb6a235ab620c32af719f8208399
Linux 6.11-rc4
to receive thermal control fixes for 6.11-rc5.
These fix error handling in the thermal debug code and OF node reference
leaks in the thermal OF driver.
Specifics:
- Use IS_ERR() in checks of debugfs_create_dir() return value instead of
checking it against NULL in the thermal debug code (Yang Ruibin).
- Fix three OF node reference leaks in thermal_of (Krzysztof Kozlowski).
Thanks!
---------------
Krzysztof Kozlowski (3):
thermal: of: Fix OF node leak in thermal_of_trips_init() error path
thermal: of: Fix OF node leak in thermal_of_zone_register()
thermal: of: Fix OF node leak in of_thermal_zone_find() error paths
Yang Ruibin (1):
thermal/debugfs: Fix the NULL vs IS_ERR() confusion in
debugfs_create_dir()
---------------
drivers/thermal/thermal_debugfs.c | 6 +++---
drivers/thermal/thermal_of.c | 23 ++++++++++++++---------
2 files changed, 17 insertions(+), 12 deletions(-)