* [PATCH] Too much debug info from ide-tape
@ 2002-03-20 23:06 Alfredo Sanjuán
0 siblings, 0 replies; only message in thread
From: Alfredo Sanjuán @ 2002-03-20 23:06 UTC (permalink / raw)
To: linux-kernel; +Cc: marcelo
Hi Marcelo.
This little patch removes too much DEBUG info from
drivers/ide/ide-tape.c. This is for vanilla 2.4.18.
--alfredo
-------------------------------------------------------
diff -ur linux-2.4.18/drivers/ide/ide-tape.c linux-2.4.18new/drivers/ide/ide-tape.c
--- linux-2.4.18/drivers/ide/ide-tape.c Fri Dec 21 18:41:54 2001
+++ linux-2.4.18new/drivers/ide/ide-tape.c Wed Mar 20 23:48:11 2002
@@ -3096,10 +3096,10 @@
idetape_tape_t *tape = drive->driver_data;
idetape_read_position_result_t *result;
-//#if IDETAPE_DEBUG_LOG
-// if (tape->debug_level >= 4)
+#if IDETAPE_DEBUG_LOG
+ if (tape->debug_level >= 4)
printk (KERN_INFO "ide-tape: Reached idetape_read_position_callback\n");
-//#endif /* IDETAPE_DEBUG_LOG */
+#endif /* IDETAPE_DEBUG_LOG */
if (!tape->pc->error) {
result = (idetape_read_position_result_t *) tape->pc->buffer;
@@ -3273,10 +3273,10 @@
idetape_pc_t pc;
int position;
-//#if IDETAPE_DEBUG_LOG
-// if (tape->debug_level >= 4)
+#if IDETAPE_DEBUG_LOG
+ if (tape->debug_level >= 4)
printk (KERN_INFO "ide-tape: Reached idetape_read_position\n");
-//#endif /* IDETAPE_DEBUG_LOG */
+#endif /* IDETAPE_DEBUG_LOG */
#ifdef NO_LONGER_REQUIRED
idetape_flush_tape_buffers(drive);
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-20 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-20 23:06 [PATCH] Too much debug info from ide-tape Alfredo Sanjuán
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®