Skip to contentSkip to conversation

debug messages in ide-floppy.c

PATCH New Vitezslav Samel 1 participant 1 message Dec 4, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

drivers/ide/ide-floppy.c +3 -3
diff -X dontdiff -urN clean-2.5.50/drivers/ide/ide-floppy.c linux-2.5.50/drivers/ide/ide-floppy.c
@@ -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