linux/drivers/thermal/intel
Dan Carpenter 69e49f1b53 thermal: intel: quark_dts: fix error pointer dereference
[ Upstream commit f1b930e740 ]

If alloc_soc_dts() fails, then we can just return.  Trying to free
"soc_dts" will lead to an Oops.

Fixes: 8c18769396 ("thermal: intel Quark SoC X1000 DTS thermal driver")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:31 +01:00
..
int340x_thermal thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type() 2023-02-01 08:34:48 +01:00
intel_bxt_pmic_thermal.c
intel_hfi.c
intel_hfi.h
intel_menlow.c
intel_pch_thermal.c thermal: intel: intel_pch: Add support for Wellsburg PCH 2023-03-10 09:33:50 +01:00
intel_powerclamp.c thermal: intel: powerclamp: Fix cur_state for multi package system 2023-03-10 09:34:22 +01:00
intel_quark_dts_thermal.c thermal: intel: quark_dts: fix error pointer dereference 2023-03-11 13:55:31 +01:00
intel_soc_dts_iosf.c thermal: intel: Fix unsigned comparison with less than zero 2023-03-10 09:33:49 +01:00
intel_soc_dts_iosf.h
intel_soc_dts_thermal.c
intel_tcc_cooling.c
Kconfig
Makefile
therm_throt.c
thermal_interrupt.h
x86_pkg_temp_thermal.c