Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1738813 > unrolled thread
| Started by | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| First post | 2017-09-25 10:20 +0200 |
| Last post | 2017-09-26 01:40 +0200 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.kernel
[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
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-09-25 10:20 +0200 |
| Subject | [PATCH 0/3] clocksource: pr_err() strings should end with newlines |
| Message-ID | <utwMq-3Lc-11@gated-at.bofh.it> |
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Arvind Yadav (3): [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines [PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines drivers/clocksource/owl-timer.c | 4 ++-- drivers/clocksource/rockchip_timer.c | 2 +- drivers/clocksource/timer-fttmr010.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) -- 1.9.1
[toc] | [next] | [standalone]
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-09-25 10:20 +0200 |
| Subject | [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines |
| Message-ID | <utwMr-3Lc-27@gated-at.bofh.it> |
| In reply to | #1738813 |
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/owl-timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c
index d19c53c..c686305 100644
--- a/drivers/clocksource/owl-timer.c
+++ b/drivers/clocksource/owl-timer.c
@@ -125,7 +125,7 @@ static int __init owl_timer_init(struct device_node *node)
owl_timer_base = of_io_request_and_map(node, 0, "owl-timer");
if (IS_ERR(owl_timer_base)) {
- pr_err("Can't map timer registers");
+ pr_err("Can't map timer registers\n");
return PTR_ERR(owl_timer_base);
}
@@ -134,7 +134,7 @@ static int __init owl_timer_init(struct device_node *node)
timer1_irq = of_irq_get_byname(node, "timer1");
if (timer1_irq <= 0) {
- pr_err("Can't parse timer1 IRQ");
+ pr_err("Can't parse timer1 IRQ\n");
return -EINVAL;
}
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Andreas Färber <afaerber@suse.de> |
|---|---|
| Date | 2017-09-25 10:50 +0200 |
| Subject | Re: [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines |
| Message-ID | <utxfr-3VY-15@gated-at.bofh.it> |
| In reply to | #1738815 |
Am 25.09.2017 um 10:16 schrieb Arvind Yadav: > 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/owl-timer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Andreas Färber <afaerber@suse.de> Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
[toc] | [prev] | [next] | [standalone]
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-09-25 10:20 +0200 |
| Subject | [PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines |
| Message-ID | <utwMr-3Lc-29@gated-at.bofh.it> |
| In reply to | #1738813 |
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
[toc] | [prev] | [next] | [standalone]
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-09-25 10:20 +0200 |
| Subject | [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines |
| Message-ID | <utwMr-3Lc-23@gated-at.bofh.it> |
| In reply to | #1738813 |
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/timer-fttmr010.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/timer-fttmr010.c b/drivers/clocksource/timer-fttmr010.c
index 66dd909..32214eb 100644
--- a/drivers/clocksource/timer-fttmr010.c
+++ b/drivers/clocksource/timer-fttmr010.c
@@ -263,14 +263,14 @@ static int __init fttmr010_common_init(struct device_node *np, bool is_aspeed)
fttmr010->base = of_iomap(np, 0);
if (!fttmr010->base) {
- pr_err("Can't remap registers");
+ pr_err("Can't remap registers\n");
ret = -ENXIO;
goto out_free;
}
/* IRQ for timer 1 */
irq = irq_of_parse_and_map(np, 0);
if (irq <= 0) {
- pr_err("Can't parse IRQ");
+ pr_err("Can't parse IRQ\n");
ret = -EINVAL;
goto out_unmap;
}
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Daniel Lezcano <daniel.lezcano@linaro.org> |
|---|---|
| Date | 2017-09-26 01:40 +0200 |
| Subject | Re: [PATCH 0/3] clocksource: pr_err() strings should end with newlines |
| Message-ID | <utL8J-4Uf-5@gated-at.bofh.it> |
| In reply to | #1738813 |
On 25/09/2017 10:16, Arvind Yadav wrote: > pr_err() messages should terminated with a new-line to avoid > other messages being concatenated onto the end. > > Arvind Yadav (3): > [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines > [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines > [PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines > > drivers/clocksource/owl-timer.c | 4 ++-- > drivers/clocksource/rockchip_timer.c | 2 +- > drivers/clocksource/timer-fttmr010.c | 4 ++-- > 3 files changed, 5 insertions(+), 5 deletions(-) Applied and slightly changed the commit log to: pr_err() messages should end with a new-line to avoid other messages being concatenated. In the future, please use the subject subsystem format to: clocksource/drivers/<timer>: .... Thanks. -- Daniel -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web