lkml.org 
[lkml]   [2002]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] debug messages in ide-floppy.c
	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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.024 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site