Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966592AbdIZHDN (ORCPT ); Tue, 26 Sep 2017 03:03:13 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:37335 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965786AbdIZHCw (ORCPT ); Tue, 26 Sep 2017 03:02:52 -0400 X-Google-Smtp-Source: AOwi7QAJkJpCXNrm+ZRcyBxQx7u4HUuijjj7dTAYNiiFAxPmBPTElDmII3jSw2OriG4eBt9askQbTA== From: Arvind Yadav To: dmitry.torokhov@gmail.com, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: synaptics-rmi4 - pr_err() strings should end with newlines Date: Tue, 26 Sep 2017 12:31:47 +0530 Message-Id: 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: 800 Lines: 23 pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/input/rmi4/rmi_f11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c index bc5e37f..28296a9 100644 --- a/drivers/input/rmi4/rmi_f11.c +++ b/drivers/input/rmi4/rmi_f11.c @@ -596,7 +596,7 @@ static void rmi_f11_finger_handler(struct f11_data *f11, /* Possible of having 4 fingers per f_state register */ finger_state = rmi_f11_parse_finger_state(f_state, i); if (finger_state == F11_RESERVED) { - pr_err("Invalid finger state[%d]: 0x%02x", i, + pr_err("Invalid finger state[%d]: 0x%02x\n", i, finger_state); continue; } -- 1.9.1