Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933411AbdIYIRy (ORCPT ); Mon, 25 Sep 2017 04:17:54 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36790 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932462AbdIYIRu (ORCPT ); Mon, 25 Sep 2017 04:17:50 -0400 X-Google-Smtp-Source: AOwi7QAqa9sJbqkg850kvD/FTXDfV0UFsPo+vcCYOEMAF5zZhx86XqE13ka9t88abpEHmE0h7RnghQ== 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 1/3] clocksource: fttmr010: pr_err() strings should end with newlines Date: Mon, 25 Sep 2017 13:46:39 +0530 Message-Id: <1506327401-30521-2-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: 941 Lines: 31 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/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