ac3200: fix error path
Subsystems (3)
PATCH 1/1 ac3200: fix error path
Do not call free_irq() if request_irq() failed.
Signed-off-by Kulikov Vasiliy <[email protected]>
--- drivers/net/ac3200.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ac3200.c +1 -1
@@ -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 out1; + goto out; }printk (" IRQ %d, %s port\n" , dev->irq, port_name[dev->if_port]);
Signature · 1 line
1.7.0.4
From: Kulikov Vasiliy <[email protected]>
Date: Fri, 9 Jul 2010 16:28:09 +0400
Quoted 3 lines
Do not call
free_irq()ifrequest_irq()failed.Signed-off-by Kulikov Vasiliy <[email protected]>
Applied.