From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbdIWTLF (ORCPT ); Sat, 23 Sep 2017 15:11:05 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35246 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbdIWTLE (ORCPT ); Sat, 23 Sep 2017 15:11:04 -0400 Date: Sat, 23 Sep 2017 21:11:02 +0200 From: Pavel Machek To: chenhc@lemote.com, ralf@linux-mips.org, linux-kernel@vger.kernel.org Subject: drivers/platform/mips/cpu_hwmon.c: orderly_poweroff() is silent Message-ID: <20170923191057.GA17434@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" 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 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 <=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 --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlnGscEACgkQMOfwapXb+vLI8gCePZAuEy15I+AGl7J/Y/ZA+doi zUcAniXFwSPXd/Y2GRCYjZ/3wwY7Yjsz =+uZi -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--