lkml.org 
[lkml]   [2000]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/net/wan/sbni.c free_irq on failure
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.022 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site