[PATCH] drivers/net/wan/sbni.c free_irq on failure

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Sat Aug 12 2000 - 23:21:35 EDT

  • Next message: Linus Torvalds: "Re: NTFS-like streams?"

    Hi,

           Please take a look and consider applying.

                            - Arnaldo

    --- linux-2.4.0-test7-pre2/drivers/net/wan/sbni.c Tue Jul 11 15:12:24 2000
    +++ linux-2.4.0-test7-pre2.acme/drivers/net/wan/sbni.c Sun Aug 13 00:16:04 2000
    @@ -448,6 +448,7 @@
             if(dev->priv == NULL)
             {
                     DP( printk("%s: cannot allocate memory\n", dev->name); )
    + free_irq(dev->irq, dev);
                     return -ENOMEM;
             }
        

    -
    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 : Sat Aug 12 2000 - 23:26:01 EDT