All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine
@ 2016-10-25 10:53 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2016-10-25 10:53 UTC (permalink / raw)
  To: standby24x7, rdunlap, chenhc, ralf, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]


pr_alert() would be a good thing, I'd say.

Best regards,
									Pavel

diff --git a/drivers/platform/mips/cpu_hwmon.c b/drivers/platform/mips/cpu_hwmon.c
index 4300a55..b18c550 100644
--- a/drivers/platform/mips/cpu_hwmon.c
+++ b/drivers/platform/mips/cpu_hwmon.c
@@ -144,6 +144,7 @@ static void do_thermal_timer(struct work_struct *work)
 	if (value <= CPU_THERMAL_THRESHOLD)
 		schedule_delayed_work(&thermal_work, msecs_to_jiffies(5000));
 	else
+		/* FIXME: printk message about what is going on */
 		orderly_poweroff(true);
 }
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-25 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-25 10:53 drivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.