From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965726AbcJYKxV (ORCPT ); Tue, 25 Oct 2016 06:53:21 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:50507 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965801AbcJYKxU (ORCPT ); Tue, 25 Oct 2016 06:53:20 -0400 Date: Tue, 25 Oct 2016 12:53:17 +0200 From: Pavel Machek To: standby24x7@gmail.com, rdunlap@infradead.org, chenhc@lemote.com, ralf@linux-mips.org, linux-kernel@vger.kernel.org Subject: drivers/platform/mips/cpu_hwmon.c: should probably let user know when killing machine Message-ID: <20161025105317.GA21096@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 <=3D CPU_THERMAL_THRESHOLD) schedule_delayed_work(&thermal_work, msecs_to_jiffies(5000)); else + /* FIXME: printk message about what is going on */ orderly_poweroff(true); } =20 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlgPOZ0ACgkQMOfwapXb+vIt+gCeMxqcoYbmXcqElwCDY45eyJDm pd4AmwReOuYO13lw0NZuobBpfewvgxTL =ObhL -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--