Skip to contentSkip to conversation

drivers/platform/mips/cpu_hwmon.c: orderly_poweroff() is silent

PATCH Pavel Machek 1 participant 1 message Sep 23, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Orderly poweroff is silent, so it would be nice to pr_alert("something") at the place of FIXME.

Thanks,
Pavel

drivers/platform/mips/cpu_hwmon.c +1 -0
index 322de58..df24292 100644
@@ -147,6 +147,7 @@ static void do_thermal_timer(struct work_struct *work)
 	if (temp_max <= CPU_THERMAL_THRESHOLD)
 		schedule_delayed_work(&thermal_work, msecs_to_jiffies(5000));
 	else
+		/* FIXME: printk message about what is going on */
 		orderly_poweroff(true);
 }
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html