Marcelo,

just in case you release an -rc3, would you please include this typo fix
from Jurgen Quade. I have it in my tree since 2.4.23, it's a pure copy-paste
typo which causes the driver either to print an incomplete message or a
seconde unexpected one. BTW, it's fixed in 2.6.

Thanks,
Willy

--- ./drivers/block/floppy.old.c        2003-12-22 11:42:42.000000000 +0100
+++ ./drivers/block/floppy.c    2003-12-22 11:44:00.000000000 +0100
@@ -2563,7 +2563,7 @@
                               current_count_sectors);
                        if (CT(COMMAND) == FD_READ)
                                printk("read\n");
-                       if (CT(COMMAND) == FD_READ)
+                       if (CT(COMMAND) == FD_WRITE)
                                printk("write\n");
                        break;
                }
@@ -2894,7 +2894,7 @@
                               current_count_sectors);
                        if (CT(COMMAND) == FD_READ)
                                printk("read\n");
-                       if (CT(COMMAND) == FD_READ)
+                       if (CT(COMMAND) == FD_WRITE)
                                printk("write\n");
                        return 0;
                }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to