mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] LIRC: Add missing line breaks
@ 2008-09-26 19:27 Stefan Bauer
  0 siblings, 0 replies; only message in thread
From: Stefan Bauer @ 2008-09-26 19:27 UTC (permalink / raw)
  To: Jarod Wilson; +Cc: Janne Grunau, linux-kernel

From: Stefan Bauer <stefan.bauer@cs.tu-chemnitz.de>

Add missing line breaks to lirc_buffer_{clear, free}() warnings.

Signed-Off-By: Stefan Bauer <stefan.bauer@cs.tu-chemnitz.de>

---
Jarod, this is for your linux-2.6-lirc.git tree and fixes output like this:
calling lirc_buffer_clear on an uninitialized lirc_bufferModules linked in

diff --git a/drivers/input/lirc/lirc_dev.h b/drivers/input/lirc/lirc_dev.h
index 1342035..bf05a7c 100644
--- a/drivers/input/lirc/lirc_dev.h
+++ b/drivers/input/lirc/lirc_dev.h
@@ -34,7 +34,7 @@ static void lirc_buffer_clear(struct lirc_buffer *buf)
 	if (buf->fifo)
 		kfifo_reset(buf->fifo);
 	else
-		WARN(1, "calling lirc_buffer_clear on an uninitialized lirc_buffer");
+		WARN(1, "calling lirc_buffer_clear on an uninitialized lirc_buffer\n");
 }
 static int lirc_buffer_init(struct lirc_buffer *buf,
 				    unsigned int chunk_size,
@@ -54,7 +54,7 @@ static void lirc_buffer_free(struct lirc_buffer *buf)
 	if (buf->fifo)
 		kfifo_free(buf->fifo);
 	else
-		WARN(1, "calling lirc_buffer_free on an uninitialized lirc_buffer");
+		WARN(1, "calling lirc_buffer_free on an uninitialized lirc_buffer\n");
 }
 static int lirc_buffer_full(struct lirc_buffer *buf)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-26 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-26 19:27 [PATCH] LIRC: Add missing line breaks Stefan Bauer

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®