clocksource/drivers/owl: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 08:16:40 +0000 (13:46 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 Oct 2017 21:49:01 +0000 (23:49 +0200)
pr_err() messages should end with a new-line to avoid other messages being
concatenated.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/owl-timer.c

index d19c53c11094c20e31f08ffc125c3f8b83c0f780..c686305650797a8b75b2e7f5be4a2ec568d84c28 100644 (file)
@@ -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;
        }