mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Bauer <stefan.bauer@cs.tu-chemnitz.de>
To: Jarod Wilson <jwilson@redhat.com>
Cc: Janne Grunau <j@jannau.net>, linux-kernel@vger.kernel.org
Subject: [PATCH] LIRC: Add missing line breaks
Date: Fri, 26 Sep 2008 21:27:16 +0200	[thread overview]
Message-ID: <200809262127.17034.stefan.bauer@cs.tu-chemnitz.de> (raw)

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


                 reply	other threads:[~2008-09-26 19:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200809262127.17034.stefan.bauer@cs.tu-chemnitz.de \
    --to=stefan.bauer@cs.tu-chemnitz.de \
    --cc=j@jannau.net \
    --cc=jwilson@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®