Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284437
b: refs/heads/master
c: fdb5950
h: refs/heads/master
i:
  284435: 3ce2efb
v: v3
  • Loading branch information
Marco Stornelli authored and Linus Torvalds committed Jan 13, 2012
1 parent 38830a0 commit 6dc3a7f
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: 028ee4be34a09a6d48bdf30ab991ae933a7bc036
refs/heads/master: fdb5950754eb3dedb9fea7c8828d3e51d9dbc3f7
4 changes: 2 additions & 2 deletions trunk/drivers/char/ramoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ static int __init ramoops_probe(struct platform_device *pdev)
goto fail3;
}

rounddown_pow_of_two(pdata->mem_size);
rounddown_pow_of_two(pdata->record_size);
pdata->mem_size = rounddown_pow_of_two(pdata->mem_size);
pdata->record_size = rounddown_pow_of_two(pdata->record_size);

/* Check for the minimum memory size */
if (pdata->mem_size < MIN_MEM_SIZE &&
Expand Down

0 comments on commit 6dc3a7f

Please sign in to comment.