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


Groups > linux.kernel > #1738816

[PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines

From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines
Date 2017-09-25 10:20 +0200
Message-ID <utwMr-3Lc-29@gated-at.bofh.it> (permalink)
References <utwMq-3Lc-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
---
 drivers/clocksource/rockchip_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c
index c27f4c8..33f370d 100644
--- a/drivers/clocksource/rockchip_timer.c
+++ b/drivers/clocksource/rockchip_timer.c
@@ -274,7 +274,7 @@ static int __init rk_clksrc_init(struct device_node *np)
 		TIMER_NAME, rk_clksrc->freq, 250, 32,
 		clocksource_mmio_readl_down);
 	if (ret) {
-		pr_err("Failed to register clocksource");
+		pr_err("Failed to register clocksource\n");
 		goto out_clocksource;
 	}
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] clocksource: pr_err() strings should end with newlines Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-09-25 10:20 +0200
  [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-09-25 10:20 +0200
    Re: [PATCH 2/3] clocksource: owl: pr_err() strings should end with  newlines Andreas Färber <afaerber@suse.de> - 2017-09-25 10:50 +0200
  [PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-09-25 10:20 +0200
  [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-09-25 10:20 +0200
  Re: [PATCH 0/3] clocksource: pr_err() strings should end with  newlines Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-09-26 01:40 +0200

csiph-web