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


Groups > linux.kernel > #1738060 > unrolled thread

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

Started byPavel Machek <pavel@ucw.cz>
First post2017-09-23 21:20 +0200
Last post2017-09-23 21:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  drivers/platform/mips/cpu_hwmon.c: orderly_poweroff() is silent Pavel Machek <pavel@ucw.cz> - 2017-09-23 21:20 +0200

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

FromPavel Machek <pavel@ucw.cz>
Date2017-09-23 21:20 +0200
Subjectdrivers/platform/mips/cpu_hwmon.c: orderly_poweroff() is silent
Message-ID<usY81-72k-1@gated-at.bofh.it>

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

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

Thanks,
						Pavel

diff --git a/drivers/platform/mips/cpu_hwmon.c b/drivers/platform/mips/cpu_hwmon.c
index 322de58..df24292 100644
--- a/drivers/platform/mips/cpu_hwmon.c
+++ b/drivers/platform/mips/cpu_hwmon.c
@@ -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);
 }
 

-- 
(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