* [PATCH] powerpc: Add missing irq free in fs_enet error path.
@ 2008-10-24 23:10 Mike Ditto
0 siblings, 0 replies; only message in thread
From: Mike Ditto @ 2008-10-24 23:10 UTC (permalink / raw)
To: linuxppc-dev
If something goes wrong attaching to phy driver, we weren't freeing the IRQ.
Signed-off-by: Mike Ditto <mditto@consentry.com>
---
cvs diff -r linux-2_6_27 -upN linux/drivers/net/fs_enet/fs_enet-main.c
Index: linux/drivers/net/fs_enet/fs_enet-main.c
===================================================================
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 fs_enet-main.c
--- linux/drivers/net/fs_enet/fs_enet-main.c 11 Oct 2008 02:53:59 -0000 1.1.1.1
+++ linux/drivers/net/fs_enet/fs_enet-main.c 24 Oct 2008 22:19:47 -0000
@@ -811,6 +811,7 @@ static int fs_enet_open(struct net_devic
err = fs_init_phy(dev);
if (err) {
+ fs_free_irq(dev, fep->interrupt);
if (fep->fpi->use_napi)
napi_disable(&fep->napi);
return err;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-24 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24 23:10 [PATCH] powerpc: Add missing irq free in fs_enet error path Mike Ditto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).