mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Dave Clendenan <dave@dave.clendenan.ca>, akpm@osdl.org
Cc: support@stallion.oz.au, support@stallion.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Re: error in linux kernel source file istallion.c
Date: Sat, 12 Jun 2004 10:14:02 -0700	[thread overview]
Message-ID: <20040612101402.74559edf.rddunlap@osdl.org> (raw)
In-Reply-To: <20040612164533.GA11125@dave.clendenan.ca>

On Sat, 12 Jun 2004 09:45:34 -0700 Dave Clendenan wrote:

| Very minor bug - printk with two '%d's and one int to print out.
| 
| Lines 853-854 of drivers/char/istallion.c (kernel 2.6.6)
| Code is an error message 'failed to un-register tty driver'


istallion: Remove duplicate "%d" in printk();

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>


diffstat:=
 drivers/char/istallion.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/char/istallion.c~printk_fixup ./drivers/char/istallion.c
--- ./drivers/char/istallion.c~printk_fixup	2004-05-09 19:32:52.000000000 -0700
+++ ./drivers/char/istallion.c	2004-06-12 09:52:39.000000000 -0700
@@ -851,7 +851,7 @@ static void __exit istallion_module_exit
 	i = tty_unregister_driver(stli_serial);
 	if (i) {
 		printk("STALLION: failed to un-register tty driver, "
-			"errno=%d,%d\n", -i);
+			"errno=%d\n", -i);
 		restore_flags(flags);
 		return;
 	}

      reply	other threads:[~2004-06-12 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-12 16:45 Dave Clendenan
2004-06-12 17:14 ` Randy.Dunlap [this message]

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=20040612101402.74559edf.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --cc=dave@dave.clendenan.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=support@stallion.com \
    --cc=support@stallion.oz.au \
    /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®