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


Groups > linux.kernel > #1490981 > unrolled thread

[PATCH] cpufreq: st: add missing \n to end of dev_err message

Started byColin King <colin.king@canonical.com>
First post2016-09-25 23:50 +0200
Last post2016-09-26 06:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: st: add missing \n to end of dev_err message Colin King <colin.king@canonical.com> - 2016-09-25 23:50 +0200
    Re: [PATCH] cpufreq: st: add missing \n to end of dev_err message Viresh Kumar <viresh.kumar@linaro.org> - 2016-09-26 06:00 +0200

#1490981 — [PATCH] cpufreq: st: add missing \n to end of dev_err message

FromColin King <colin.king@canonical.com>
Date2016-09-25 23:50 +0200
Subject[PATCH] cpufreq: st: add missing \n to end of dev_err message
Message-ID<slpt8-3om-15@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Trival fix, dev_err message is missing a \n, so add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/cpufreq/sti-cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
index 0404203..b366e6d 100644
--- a/drivers/cpufreq/sti-cpufreq.c
+++ b/drivers/cpufreq/sti-cpufreq.c
@@ -163,7 +163,7 @@ static int sti_cpufreq_set_opp_info(void)
 
 	reg_fields = sti_cpufreq_match();
 	if (!reg_fields) {
-		dev_err(dev, "This SoC doesn't support voltage scaling");
+		dev_err(dev, "This SoC doesn't support voltage scaling\n");
 		return -ENODEV;
 	}
 
-- 
2.9.3

[toc] | [next] | [standalone]


#1491067

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-09-26 06:00 +0200
Message-ID<slvfb-73m-1@gated-at.bofh.it>
In reply to#1490981
On 25-09-16, 14:40, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trival fix, dev_err message is missing a \n, so add it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/cpufreq/sti-cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
> index 0404203..b366e6d 100644
> --- a/drivers/cpufreq/sti-cpufreq.c
> +++ b/drivers/cpufreq/sti-cpufreq.c
> @@ -163,7 +163,7 @@ static int sti_cpufreq_set_opp_info(void)
>  
>  	reg_fields = sti_cpufreq_match();
>  	if (!reg_fields) {
> -		dev_err(dev, "This SoC doesn't support voltage scaling");
> +		dev_err(dev, "This SoC doesn't support voltage scaling\n");
>  		return -ENODEV;
>  	}
>  

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web