linux/drivers/thermal/ti-soc-thermal
Tony Lindgren ba817a8cfc thermal: ti-soc-thermal: Fix ti_thermal_unregister_cpu_cooling NULL pointer on unload
While debugging some PM issues and trying to remove all the loaded modules, I ran
across the following when unloading ti-soc-thermal:

Unable to handle kernel NULL pointer dereference at virtual address 000000b4
...
[<c08db340>] (kobject_put) from [<bf28954c>] (ti_thermal_unregister_cpu_cooling+0x20/0x28 [ti_soc_thermal])
[<bf28954c>] (ti_thermal_unregister_cpu_cooling [ti_soc_thermal]) from [<bf287c88>] (ti_bandgap_remove+0x3c/0x104 [ti_soc_thermal])
[<bf287c88>] (ti_bandgap_remove [ti_soc_thermal]) from [<c0610d48>] (platform_drv_remove+0x24/0x3c)
[<c0610d48>] (platform_drv_remove) from [<c060f114>] (device_release_driver_internal+0x160/0x208)
[<c060f114>] (device_release_driver_internal) from [<c060f200>] (driver_detach+0x38/0x6c)
[<c060f200>] (driver_detach) from [<c060e2d4>] (bus_remove_driver+0x4c/0xa0)
[<c060e2d4>] (bus_remove_driver) from [<c01f2370>] (SyS_delete_module+0x168/0x238)
[<c01f2370>] (SyS_delete_module) from [<c0108240>] (ret_fast_syscall+0x0/0x28)

Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2017-10-31 19:32:14 -07:00
..
dra752-bandgap.h thermal: arm: dra752: Remove all TSHUT related definitions 2017-02-18 17:44:18 -08:00
dra752-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
Kconfig thermal: ti-soc-thermal: Remove CPU_THERMAL Dependency from TI_THERMAL 2017-02-18 17:43:56 -08:00
Makefile ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
omap3-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap4-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap4xxx-bandgap.h
omap5-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap5xxx-bandgap.h
ti-bandgap.c ti-soc-thermal: Fix a typo in a comment line 2017-05-23 20:07:32 -07:00
ti-bandgap.h thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
ti-thermal-common.c thermal: ti-soc-thermal: Fix ti_thermal_unregister_cpu_cooling NULL pointer on unload 2017-10-31 19:32:14 -07:00
ti-thermal.h thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
TODO