[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171128024239.GD11413@vireshk-i7>
Date: Tue, 28 Nov 2017 08:12:39 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: sboyd@...eaurora.org, mcoquelin.stm32@...il.com,
alexandre.torgue@...com, ysato@...rs.sourceforge.jp, vz@...ia.com,
slemieux.tyco@...il.com, vireshk@...nel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 4/6] SPEAr: clk: pr_err() strings should end with newlines
On 24-11-17, 12:25, Arvind Yadav wrote:
> pr_err() messages should end with a new-line to avoid other messages
> being concatenated.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
> ---
> drivers/clk/spear/clk-gpt-synth.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/spear/clk-gpt-synth.c b/drivers/clk/spear/clk-gpt-synth.c
> index 1a722e9..1cf219a6 100644
> --- a/drivers/clk/spear/clk-gpt-synth.c
> +++ b/drivers/clk/spear/clk-gpt-synth.c
> @@ -120,7 +120,7 @@ struct clk *clk_register_gpt(const char *name, const char *parent_name, unsigned
> struct clk *clk;
>
> if (!name || !parent_name || !reg || !rtbl || !rtbl_cnt) {
> - pr_err("Invalid arguments passed");
> + pr_err("Invalid arguments passed\n");
> return ERR_PTR(-EINVAL);
> }
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists