Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965637AbdIZGRV (ORCPT ); Tue, 26 Sep 2017 02:17:21 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:37465 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933842AbdIZGRT (ORCPT ); Tue, 26 Sep 2017 02:17:19 -0400 X-Google-Smtp-Source: AOwi7QD6UtE/aBt+xMadt5IGzLgIOtPj8SeYbO2xfvNdWk+98XxOZLpV5bjmkMZG5TJRkxAa7M91tw== From: Arvind Yadav To: sre@kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] HSI: hsi_char: pr_err() strings should end with newlines Date: Tue, 26 Sep 2017 11:46:14 +0530 Message-Id: <74daad7cb1d5507d4531b5ac82d5002834156ced.1506406503.git.arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 30 pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/hsi/clients/hsi_char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index 57f70c2..cf9c2a3 100644 --- a/drivers/hsi/clients/hsi_char.c +++ b/drivers/hsi/clients/hsi_char.c @@ -773,13 +773,13 @@ static int __init hsc_init(void) if ((max_data_size < 4) || (max_data_size > 0x10000) || (max_data_size & (max_data_size - 1))) { - pr_err("Invalid max read/write data size"); + pr_err("Invalid max read/write data size\n"); return -EINVAL; } ret = hsi_register_client_driver(&hsc_driver); if (ret) { - pr_err("Error while registering HSI/SSI driver %d", ret); + pr_err("Error while registering HSI/SSI driver %d\n", ret); return ret; } -- 1.9.1