mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Input: synaptics-rmi4 - pr_err() strings should end with newlines
@ 2017-09-26  7:01 Arvind Yadav
  2017-09-26  7:15 ` Benjamin Tissoires
  0 siblings, 1 reply; 2+ messages in thread
From: Arvind Yadav @ 2017-09-26  7:01 UTC (permalink / raw)
  To: dmitry.torokhov, benjamin.tissoires; +Cc: linux-input, linux-kernel

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>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-26  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26  7:01 [PATCH] Input: synaptics-rmi4 - pr_err() strings should end with newlines Arvind Yadav
2017-09-26  7:15 ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®