projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451d33d
)
ac3200: fix error path
author
Kulikov Vasiliy
<segooon@gmail.com>
Fri, 9 Jul 2010 02:28:09 +0000
(
02:28
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 12 Jul 2010 01:15:08 +0000
(18:15 -0700)
Do not call free_irq() if request_irq() failed.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ac3200.c
patch
|
blob
|
history
diff --git
a/drivers/net/ac3200.c
b/drivers/net/ac3200.c
index
b9115a7
..
5181e93
100644
(file)
--- a/
drivers/net/ac3200.c
+++ b/
drivers/net/ac3200.c
@@
-211,7
+211,7
@@
static int __init ac_probe1(int ioaddr, struct net_device *dev)
retval = request_irq(dev->irq, ei_interrupt, 0, DRV_NAME, dev);
if (retval) {
printk (" nothing! Unable to get IRQ %d.\n", dev->irq);
- goto out
1
;
+ goto out;
}
printk(" IRQ %d, %s port\n", dev->irq, port_name[dev->if_port]);