Re: [PATCH] drivers/net/sbni.c irq release on failure

From: Yaroslav S. Polyakov (xenon@granch.com)
Date: Sun Dec 10 2000 - 03:59:46 EST


Hi!

On Sat, 9 Dec 2000, Arnaldo Carvalho de Melo wrote:

> Alan/Yaroslav,
>
> Please consider applying, a similar patch is already in 2.4.
I want to release new version of sbni driver soon (after QA
procedures). This new version will be ported to 2.4 kernel.
this version already have your patch applied. Thanks! :)

> - Arnaldo
>
> --- linux-2.2.18-pre25/drivers/net/sbni.c Sat Dec 9 15:08:17 2000
> +++ linux-2.2.18-pre25.acme/drivers/net/sbni.c Sat Dec 9 17:44:53 2000
> @@ -456,6 +456,7 @@
> if(dev->priv == NULL)
> {
> DP( printk("%s: cannot allocate memory\n", dev->name); )
> + free_irq(dev->irq, dev);
> return -ENOMEM;
> }
>
>

                                       .
                            Si vis pacem, para bellum
                          Granch ltd. Security Analyst

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



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:19 EST