mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vitezslav Samel" <samel@mail.cz>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] debug messages in ide-floppy.c
Date: Wed, 4 Dec 2002 16:44:28 +0100	[thread overview]
Message-ID: <20021204154428.GA3668@pc11.op.pod.cz> (raw)

	Hi!

  The debug messages are on by mistake IMHO in ide-floppy.c since 2.5.50.
This patch fixes it. Please, apply this patch.

	Cheers,
		Vita Samel

diff -X dontdiff -urN clean-2.5.50/drivers/ide/ide-floppy.c linux-2.5.50/drivers/ide/ide-floppy.c
--- clean-2.5.50/drivers/ide/ide-floppy.c	Thu Nov 28 08:30:32 2002
+++ linux-2.5.50/drivers/ide/ide-floppy.c	Wed Dec  4 16:36:34 2002
@@ -115,10 +115,10 @@
 /* #define IDEFLOPPY_DEBUG(fmt, args...) printk(KERN_INFO fmt, ## args) */
 #define IDEFLOPPY_DEBUG( fmt, args... )
 
-#ifndef IDEFLOPPY_DEBUG_LOG
-#define debug_log(fmt, args... ) do {} while(0)
-#else
+#if IDEFLOPPY_DEBUG_LOG
 #define debug_log printk
+#else
+#define debug_log(fmt, args... ) do {} while(0)
 #endif
 
 

                 reply	other threads:[~2002-12-04 15:36 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=20021204154428.GA3668@pc11.op.pod.cz \
    --to=samel@mail.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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®