Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285925
b: refs/heads/master
c: 2dac8e5
h: refs/heads/master
i:
  285923: c5b7ad1
v: v3
  • Loading branch information
H. Peter Anvin committed Jan 16, 2012
1 parent d017bcf commit bf79b11
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3e88bdff1c65145f7ba297ccec69c774afe4c785
refs/heads/master: 2dac8e54f988ab58525505d7ef982493374433c3
2 changes: 1 addition & 1 deletion trunk/drivers/char/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ static void init_std_data(struct entropy_store *r)

now = ktime_get_real();
mix_pool_bytes(r, &now, sizeof(now));
for (i = r->poolinfo->poolwords; i; i--) {
for (i = r->poolinfo->POOLBYTES; i > 0; i -= sizeof flags) {
if (!arch_get_random_long(&flags))
break;
mix_pool_bytes(r, &flags, sizeof(flags));
Expand Down

0 comments on commit bf79b11

Please sign in to comment.