lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160926035325.GE17336@vireshk-i7>
Date:   Mon, 26 Sep 2016 09:23:25 +0530
From:   Viresh Kumar <viresh.kumar@...aro.org>
To:     Colin King <colin.king@...onical.com>
Cc:     trivial@...nel.org, "Rafael J . Wysocki" <rjw@...ysocki.net>,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cpufreq: kirkwood: add missing \n to end of dev_err
 messages

On 25-09-16, 14:35, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
> 
> Trival fix, dev_err messages are missing a \n, so add it.
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
>  drivers/cpufreq/kirkwood-cpufreq.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers/cpufreq/kirkwood-cpufreq.c
> index be42f10..1b9bcd7 100644
> --- a/drivers/cpufreq/kirkwood-cpufreq.c
> +++ b/drivers/cpufreq/kirkwood-cpufreq.c
> @@ -123,7 +123,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
>  
>  	priv.cpu_clk = of_clk_get_by_name(np, "cpu_clk");
>  	if (IS_ERR(priv.cpu_clk)) {
> -		dev_err(priv.dev, "Unable to get cpuclk");
> +		dev_err(priv.dev, "Unable to get cpuclk\n");
>  		return PTR_ERR(priv.cpu_clk);
>  	}
>  
> @@ -132,7 +132,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
>  
>  	priv.ddr_clk = of_clk_get_by_name(np, "ddrclk");
>  	if (IS_ERR(priv.ddr_clk)) {
> -		dev_err(priv.dev, "Unable to get ddrclk");
> +		dev_err(priv.dev, "Unable to get ddrclk\n");
>  		err = PTR_ERR(priv.ddr_clk);
>  		goto out_cpu;
>  	}
> @@ -142,7 +142,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
>  
>  	priv.powersave_clk = of_clk_get_by_name(np, "powersave");
>  	if (IS_ERR(priv.powersave_clk)) {
> -		dev_err(priv.dev, "Unable to get powersave");
> +		dev_err(priv.dev, "Unable to get powersave\n");
>  		err = PTR_ERR(priv.powersave_clk);
>  		goto out_ddr;
>  	}
> @@ -155,7 +155,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
>  	if (!err)
>  		return 0;
>  
> -	dev_err(priv.dev, "Failed to register cpufreq driver");
> +	dev_err(priv.dev, "Failed to register cpufreq driver\n");
>  
>  	clk_disable_unprepare(priv.powersave_clk);
>  out_ddr:

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

-- 
viresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ