[GIT PULL] Thermal control fixes for v6.0-rc3

From: Rafał Wysocki
Date: Sat Aug 27 2022 - 09:42:30 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.0-rc3

with top-most commit 3bf1b1571224e713f1a186de21b2204c06f1cb5e

Merge branch 'thermal-core'

on top of commit 1c23f9e627a7b412978b4e852793c5e3c3efc555

Linux 6.0-rc2

to receive thermal control fixes for 6.0-rc3.

They fix two issues introduced recently and one driver problem leading
to a NULL pointer dereference in some cases.

Specifics:

- Add missing EXPORT_SYMBOL_GPL in the thermal core and add back the
required 'trips' property to the thermal zone DT bindings (Daniel
Lezcano).

- Prevent the int340x_thermal driver from crashing when a package
with a buffer of 0 length is returned by an ACPI control method
evaluated by it (Lee, Chun-Yi).

Thanks!


---------------

Daniel Lezcano (2):
thermal/core: Add missing EXPORT_SYMBOL_GPL
dt-bindings: thermal: Fix missing required property

Lee, Chun-Yi (1):
thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR

---------------

Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 1 +
drivers/thermal/intel/int340x_thermal/int3400_thermal.c | 9 +++++----
drivers/thermal/thermal_core.c | 1 +
3 files changed, 7 insertions(+), 4 deletions(-)