2017-11-24 06:57:02

by Arvind Yadav

[permalink] [raw]
Subject: [PATCH 3/6] clk: SPEAr: pr_err() strings should end with newlines

pr_err() messages should end with a new-line to avoid other messages
being concatenated.

Signed-off-by: Arvind Yadav <[email protected]>
---
drivers/clk/spear/clk-frac-synth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/spear/clk-frac-synth.c b/drivers/clk/spear/clk-frac-synth.c
index 58d678b..cbdf43a 100644
--- a/drivers/clk/spear/clk-frac-synth.c
+++ b/drivers/clk/spear/clk-frac-synth.c
@@ -131,7 +131,7 @@ struct clk *clk_register_frac(const char *name, const char *parent_name,
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);
}

--
1.9.1


From 1585949673180181781@xxx Tue Dec 05 13:11:10 +0000 2017
X-GM-THRID: 1585949673180181781
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread