Corentin LABBE
829bc78aa7
thermal: imx: fix a possible NULL dereference
...
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 472:
data->socdata = of_id->data;
For fixing this problem, we use of_device_get_match_data(), this will
simplify the code a little by using a standard function for
getting the match data.
Reported-by: coverity (CID 1324128)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2016-08-19 21:34:08 +08:00
..
int340x_thermal
Thermal-INT3406: Delete owner assignment
2016-08-19 21:32:48 +08:00
samsung
st
tegra
thermal: tegra: add Tegra132 specific SOC_THERM driver
2016-05-17 07:28:31 -07:00
ti-soc-thermal
thermal: convert ti-thermal to use devm_thermal_zone_of_sensor_register
2016-05-17 07:28:27 -07:00
armada_thermal.c
clock_cooling.c
thermal: clock_cooling: Fix missing mutex_init()
2016-08-08 10:57:39 +08:00
cpu_cooling.c
thermal: cpu_cooling: Fix NULL dereference in cpufreq_state2power
2016-08-19 21:32:18 +08:00
db8500_cpufreq_cooling.c
db8500_thermal.c
devfreq_cooling.c
dove_thermal.c
fair_share.c
thermal: fix race condition when updating cooling device
2016-08-08 10:57:39 +08:00
gov_bang_bang.c
thermal: fix race condition when updating cooling device
2016-08-08 10:57:39 +08:00
hisi_thermal.c
thermal: hisilicon: fix IRQ imbalance enabling
2016-05-17 07:28:30 -07:00
imx_thermal.c
thermal: imx: fix a possible NULL dereference
2016-08-19 21:34:08 +08:00
intel_pch_thermal.c
thermal: intel_pch_thermal: Add suspend/resume callback
2016-08-08 10:54:55 +08:00
intel_powerclamp.c
thermal/powerclamp: Prevent division by zero when counting interval
2016-08-08 10:54:55 +08:00
intel_quark_dts_thermal.c
intel_soc_dts_iosf.c
intel_soc_dts_iosf.h
intel_soc_dts_thermal.c
x86, thermal: Clean up and fix CPU model detection for intel_soc_dts_thermal
2016-06-08 13:03:26 +02:00
Kconfig
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
2016-05-26 09:23:43 -07:00
kirkwood_thermal.c
Makefile
thermal: generic-adc: Add ADC based thermal sensor driver
2016-05-17 07:28:31 -07:00
mtk_thermal.c
thermal: convert mtk_thermal to use devm_thermal_zone_of_sensor_register
2016-05-17 07:28:26 -07:00
of-thermal.c
thermal: of-thermal: allow setting trip_temp on hardware
2016-05-17 07:28:28 -07:00
power_allocator.c
thermal: fix race condition when updating cooling device
2016-08-08 10:57:39 +08:00
qcom-spmi-temp-alarm.c
thermal: convert qcom-spmi to use devm_thermal_zone_of_sensor_register
2016-05-17 07:28:26 -07:00
rcar_thermal.c
thermal: convert rcar_thermal to use devm_thermal_zone_of_sensor_register
2016-05-17 07:28:27 -07:00
rockchip_thermal.c
thermal: rockchip: use the usleep_range instead of udelay
2016-05-17 07:28:33 -07:00
spear_thermal.c
step_wise.c
thermal: fix race condition when updating cooling device
2016-08-08 10:57:39 +08:00
tango_thermal.c
thermal: tango: initialize TEMPSI_CFG
2016-05-17 07:28:33 -07:00
thermal-generic-adc.c
thermal: generic-adc: Add ADC based thermal sensor driver
2016-05-17 07:28:31 -07:00
thermal_core.c
thermal: fix race condition when updating cooling device
2016-08-08 10:57:39 +08:00
thermal_core.h
thermal_hwmon.c
thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs
2016-08-08 10:57:39 +08:00
thermal_hwmon.h
user_space.c
x86_pkg_temp_thermal.c
thermal: x86_pkg_temp: Handle the FROZEN hot plug notifier actions.
2016-05-17 09:59:29 +08:00