mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
drivers/net: sgiseeq: fix return on error
If we continue on error, we'd likely free the IRQ that we didn't get, right? Signed-off-by: Nicolas Kaiser <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
7932c2e55c
commit
06d6e6d2e4
1 file changed
+1
-1
@@ -531,7 +531,7 @@ static int sgiseeq_open(struct net_device *dev)
|
||||
|
||||
if (request_irq(irq, sgiseeq_interrupt, 0, sgiseeqstr, dev)) {
|
||||
printk(KERN_ERR "Seeq8003: Can't get irq %d\n", dev->irq);
|
||||
err = -EAGAIN;
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
err = init_seeq(dev, sp, sregs);
|
||||
|
||||
Reference in new issue
Block a user