Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200888
b: refs/heads/master
c: 3390712
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and David S. Miller committed Jul 6, 2010
1 parent ad7c2b7 commit fa8c70d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 44b451f1633896de15d2d52e1a2bd462e80b7814
refs/heads/master: 3390712a474abdcd3de10024dd1062e5928d381c
4 changes: 3 additions & 1 deletion trunk/drivers/net/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,8 +806,10 @@ static int __init ne_drv_probe(struct platform_device *pdev)
dev->base_addr = res->start;
dev->irq = platform_get_irq(pdev, 0);
} else {
if (this_dev < 0 || this_dev >= MAX_NE_CARDS)
if (this_dev < 0 || this_dev >= MAX_NE_CARDS) {
free_netdev(dev);
return -EINVAL;
}
dev->base_addr = io[this_dev];
dev->irq = irq[this_dev];
dev->mem_end = bad[this_dev];
Expand Down

0 comments on commit fa8c70d

Please sign in to comment.