[PATCH] Too much debug info from ide-tape

Alfredo Sanjuán (alfre@IBD.es)
21 Mar 2002 00:06:35 +0100


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);

------------------------------------------------------------------------

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