[patch] floppy_setup should return 0 on error

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Apr 03 2000 - 09:51:38 EST


Hi Linus,

Here is a patch to make floppy_setup return 0 on error.

Tim.
*/

Index: drivers/block/floppy.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/block/floppy.c,v
retrieving revision 1.1.1.12
diff -d -u -r1.1.1.12 floppy.c
--- drivers/block/floppy.c 2000/03/16 12:17:00 1.1.1.12
+++ drivers/block/floppy.c 2000/04/03 14:51:08
@@ -4076,7 +4076,7 @@
         } else
                 DPRINT("botched floppy option\n");
         DPRINT("Read linux/drivers/block/README.fd\n");
- return 1;
+ return 0;
 }
 
 static int have_no_fdc= -EIO;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:10 EST