c528adefd6
Passing 0 to cpuhp_remove_state() triggers the BUG_ON() in
__cpuhp_remove_state_cpuslocked() and the argument passed to
powercap_unregister_control_type() is expected to be a valid
pointer, so avoid calling these functions with incorrect
arguments from proc_thermal_rapl_remove().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
acpi_thermal_rel.c | ||
acpi_thermal_rel.h | ||
int340x_thermal_zone.c | ||
int340x_thermal_zone.h | ||
int3400_thermal.c | ||
int3402_thermal.c | ||
int3403_thermal.c | ||
int3406_thermal.c | ||
processor_thermal_device.c |