[patch] 2.3.99-pre4-3: com90io_setup patch

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Apr 03 2000 - 10:48:13 EST


Here is a small patch to make com90io_setup return 0 on error.

Tim.
*/

Index: drivers/net/arcnet/com90io.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/net/arcnet/com90io.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 com90io.c
--- drivers/net/arcnet/com90io.c 2000/02/14 10:00:06 1.1.1.2
+++ drivers/net/arcnet/com90io.c 2000/04/03 15:47:20
@@ -426,7 +426,7 @@
 
         s = get_options(s, 4, ints);
         if (!ints[0])
- return 1;
+ return 0;
         dev = alloc_bootmem(sizeof(struct net_device) + 10);
         memset(dev, 0, sizeof(struct net_device) + 10);
         dev->name = (char *) (dev + 1);

-
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