Message ID | 5738410.DvuYhMxLoT@kreacher |
---|---|
State | New |
Headers | show |
Series | [v1] ACPI: thermal: Mark uninitialized active trips as invalid | expand |
Index: linux-pm/drivers/acpi/thermal.c =================================================================== --- linux-pm.orig/drivers/acpi/thermal.c +++ linux-pm/drivers/acpi/thermal.c @@ -480,6 +480,9 @@ static int acpi_thermal_get_trip_points( } + while (++i < ACPI_THERMAL_MAX_ACTIVE) + tz->trips.active[i].trip.temperature = THERMAL_TEMP_INVALID; + return count; }