Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753881AbdIYITN (ORCPT ); Mon, 25 Sep 2017 04:19:13 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33760 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932828AbdIYIRx (ORCPT ); Mon, 25 Sep 2017 04:17:53 -0400 X-Google-Smtp-Source: AOwi7QDhPgb5Z6Kc9jIvBWtE9myIenGSFheJ1MiMlkuK0A/rBjfzec4+JuRDOZ2NT8ec7joDKjb7yA== From: Arvind Yadav To: daniel.lezcano@linaro.org, tglx@linutronix.de, heiko@sntech.de, afaerber@suse.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines Date: Mon, 25 Sep 2017 13:46:40 +0530 Message-Id: <1506327401-30521-3-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506327401-30521-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1506327401-30521-1-git-send-email-arvind.yadav.cs@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 32 pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- 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