mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 01:59:57 +07:00
ad0f409051
there is no ACPI device object processor_thermal_device driver needs ACPI support to work. Thus, the driver probing should fail when there is no ACPI device object asscociated. This fixes a NULL pointer dereference when the driver is loaded with INT340X feature disabled in BIOS. Reported-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Chen Yu <yu.c.chen@intel.com> |
||
---|---|---|
.. | ||
acpi_thermal_rel.c | ||
acpi_thermal_rel.h | ||
int3400_thermal.c | ||
int3402_thermal.c | ||
int3403_thermal.c | ||
Makefile | ||
processor_thermal_device.c |