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:
3038bdb
)
ax88796: free irq on error
author
Kulikov Vasiliy
<segooon@gmail.com>
Fri, 9 Jul 2010 06:42:40 +0000
(23:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jul 2010 06:42:40 +0000
(23:42 -0700)
If ax_ei_open() failed we must free previously requested irq.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ax88796.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ax88796.c
b/drivers/net/ax88796.c
index 55c9958043c43266c0d5b67350648f03f58143ee..20e946b1e744d9d0d4f4802969d05e8c640e5b17 100644
(file)
--- a/
drivers/net/ax88796.c
+++ b/
drivers/net/ax88796.c
@@
-481,8
+481,10
@@
static int ax_open(struct net_device *dev)
return ret;
ret = ax_ei_open(dev);
- if (ret)
+ if (ret) {
+ free_irq(dev->irq, dev);
return ret;
+ }
/* turn the phy on (if turned off) */