projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e704ee
)
powerpc/fs_enet: Add missing irq free in error path.
author
Mike Ditto
<mditto@consentry.com>
Thu, 15 Jan 2009 04:43:43 +0000
(20:43 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Jan 2009 04:43:43 +0000
(20:43 -0800)
If something goes wrong attaching to phy driver, we weren't freeing
the IRQ.
Signed-off-by: Mike Ditto <mditto@consentry.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fs_enet/fs_enet-main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fs_enet/fs_enet-main.c
b/drivers/net/fs_enet/fs_enet-main.c
index 4e6a9195fe5f6503e5bd609098a203186fab936c..ce900e54d8d1dfa7db79e016472c7ce4996631c1 100644
(file)
--- a/
drivers/net/fs_enet/fs_enet-main.c
+++ b/
drivers/net/fs_enet/fs_enet-main.c
@@
-795,6
+795,7
@@
static int fs_enet_open(struct net_device *dev)
err = fs_init_phy(dev);
if (err) {
+ free_irq(fep->interrupt, dev);
if (fep->fpi->use_napi)
napi_disable(&fep->napi);
return err;