Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278521
b: refs/heads/master
c: 86f9f2c
h: refs/heads/master
i:
  278519: 9222277
v: v3
  • Loading branch information
Lothar Waßmann authored and David S. Miller committed Dec 9, 2011
1 parent 05ef1a1 commit 737289f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ea0722fb8cdeacc774733c259d33bf45529e91b
refs/heads/master: 86f9f2c81c44223b1be129d0b15cf6edac2a5278
8 changes: 6 additions & 2 deletions trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1575,8 +1575,12 @@ fec_probe(struct platform_device *pdev)

for (i = 0; i < FEC_IRQ_NUM; i++) {
irq = platform_get_irq(pdev, i);
if (i && irq < 0)
break;
if (irq < 0) {
if (i)
break;
ret = irq;
goto failed_irq;
}
ret = request_irq(irq, fec_enet_interrupt, IRQF_DISABLED, pdev->name, ndev);
if (ret) {
while (--i >= 0) {
Expand Down

0 comments on commit 737289f

Please sign in to comment.