Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257915
b: refs/heads/master
c: 6ba1a31
h: refs/heads/master
i:
  257913: 7506858
  257911: 3f330a4
v: v3
  • Loading branch information
Julia Lawall authored and Herbert Xu committed Jun 29, 2011
1 parent 8fdca15 commit 735e83c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8af00860c913d5e814f3c10232a0f42e2a964b99
refs/heads/master: 6ba1a31ef146f25a457968c00c8c10bbe1a3ccfe
6 changes: 4 additions & 2 deletions trunk/drivers/char/hw_random/omap-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ static int __devinit omap_rng_probe(struct platform_device *pdev)

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);

if (!res)
return -ENOENT;
if (!res) {
ret = -ENOENT;
goto err_region;
}

if (!request_mem_region(res->start, resource_size(res), pdev->name)) {
ret = -EBUSY;
Expand Down

0 comments on commit 735e83c

Please sign in to comment.