2000-12-09 20:20:13

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: [PATCH] drivers/net/sbni.c irq release on failure

Alan/Yaroslav,

Please consider applying, a similar patch is already in 2.4.

- 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;
}


2000-12-10 10:11:38

by Yaroslav S. Polyakov

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

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