[PATCH] sealevel.c: restore_flags on failure

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Sat Aug 12 2000 - 22:55:07 EST


Alan,

       Please take a look and consider applying.

                        - Arnaldo

--- linux-2.4.0-test7-pre2/drivers/net/wan/sealevel.c Tue Jul 11 15:12:24 2000
+++ linux-2.4.0-test7-pre2.acme/drivers/net/wan/sealevel.c Sun Aug 13 00:51:31 2000
@@ -323,6 +323,7 @@
         if(z8530_init(dev)!=0)
         {
                 printk(KERN_ERR "Z8530 series device not found.\n");
+ restore_flags(flags);
                 goto dmafail2;
         }
         if(dev->type==Z85C30)

-
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 : Tue Aug 15 2000 - 21:00:29 EST