ACPI: Fixed wrong variable usage in thermal driver
Subsystems (2)
PATCH 1/1 ACPI: Fixed wrong variable usage in thermal driver
Signed-off-by Zhihui Zhang <[email protected]>
--- drivers/acpi/thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/thermal.c +1 -1
@@ -338,7 +338,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) tz->trips.hot.flags.valid =1 ;ACPI_DEBUG_PRINT ((ACPI_DB_INFO ,"Found hot threshold [%lu]\n" , - tz->trips.critical.temperature)); + tz->trips.hot.temperature)); } }
Signature · 1 line
1.8.1.2
Rafael J. Wysocki
AppliedQuoted 1 line · Zhihui Zhang
Signed-off-by Zhihui Zhang <[email protected]>
Queued up for the next ACPI pull request, thanks!
Quoted 18 lines
--- drivers/acpi/thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/thermal.c +1
-1@@ -338,7 +338,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) tz->trips.hot.flags.valid =1 ;ACPI_DEBUG_PRINT ((ACPI_DB_INFO ,"Found hot threshold [%lu]\n" , - tz->trips.critical.temperature)); + tz->trips.hot.temperature)); } }
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.