lkml.org 
[lkml]   [2017]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] thermal: core: fix some format issues on critical shutdown string
From
Date
On Sun, 2017-07-23 at 22:21 +0800, Icenowy Zheng wrote:
> 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>

applied.

thanks,
rui
> ---
>  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) {

\
 
 \ /
  Last update: 2017-08-08 11:18    [W:0.319 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site