Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194799
b: refs/heads/master
c: 575400b
h: refs/heads/master
i:
  194797: b6509d3
  194795: f9f3664
  194791: 8dbceed
  194783: e4299ad
v: v3
  • Loading branch information
Tobias Klauser authored and David S. Miller committed May 6, 2010
1 parent dc1cbd8 commit c9a1249
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 627c8a041f7aaaea93c766f69bd61d952a277586
refs/heads/master: 575400bf5d57f53a767bc215bd709e65e5b27a5c
4 changes: 2 additions & 2 deletions trunk/drivers/net/xilinx_emaclite.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ static int __devinit xemaclite_of_probe(struct of_device *ofdev,
}

/* Get the virtual base address for the device */
lp->base_addr = ioremap(r_mem.start, r_mem.end - r_mem.start + 1);
lp->base_addr = ioremap(r_mem.start, resource_size(&r_mem));
if (NULL == lp->base_addr) {
dev_err(dev, "EmacLite: Could not allocate iomem\n");
rc = -EIO;
Expand Down Expand Up @@ -1224,7 +1224,7 @@ static int __devinit xemaclite_of_probe(struct of_device *ofdev,
return 0;

error1:
release_mem_region(ndev->mem_start, r_mem.end - r_mem.start + 1);
release_mem_region(ndev->mem_start, resource_size(&r_mem));

error2:
xemaclite_remove_ndev(ndev);
Expand Down

0 comments on commit c9a1249

Please sign in to comment.