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


Groups > linux.kernel > #1694319 > unrolled thread

[PATCH] thermal: core: fix some format issues on critical shutdown string

Started byIcenowy Zheng <icenowy@aosc.io>
First post2017-07-23 16:30 +0200
Last post2017-07-23 16:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] thermal: core: fix some format issues on critical shutdown string Icenowy Zheng <icenowy@aosc.io> - 2017-07-23 16:30 +0200

#1694319 — [PATCH] thermal: core: fix some format issues on critical shutdown string

FromIcenowy Zheng <icenowy@aosc.io>
Date2017-07-23 16:30 +0200
Subject[PATCH] thermal: core: fix some format issues on critical shutdown string
Message-ID<u6q3n-au-9@gated-at.bofh.it>
The critical shutdown notice string used to have some spaces missing,
which makes it not so pretty.

Add the spaces to satisfy usual English space rules.

Reported-by: Mingcong Bai <jeffbai@aosc.io>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 drivers/thermal/thermal_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 5a51c740e372..671e4d15599d 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -390,7 +390,7 @@ static void handle_critical_trips(struct thermal_zone_device *tz,
 
 	if (trip_type == THERMAL_TRIP_CRITICAL) {
 		dev_emerg(&tz->device,
-			  "critical temperature reached(%d C),shutting down\n",
+			  "critical temperature reached (%d C), shutting down\n",
 			  tz->temperature / 1000);
 		mutex_lock(&poweroff_lock);
 		if (!power_off_triggered) {
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web