Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508194 > unrolled thread

drivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine

Started byPavel Machek <pavel@ucw.cz>
First post2016-10-25 13:00 +0200
Last post2016-10-25 13:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  drivers/platform/mips/cpu_hwmon.c: should probably let user know  when killing machine Pavel Machek <pavel@ucw.cz> - 2016-10-25 13:00 +0200

#1508194 — drivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine

FromPavel Machek <pavel@ucw.cz>
Date2016-10-25 13:00 +0200
Subjectdrivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine
Message-ID<sw7Cx-4uH-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web