[PATCH 00/11] random: code cleanups

From: Greg Price
Date: Thu Nov 07 2013 - 19:02:39 EST

Hi Ted, hi all,

I recently read through the random number generator's code.
This series has fixes for some minor things I spotted.

Four of the patches touch comments only. Four simplify code without
changing its behavior (total diffstat: 35 insertions, 73 deletions),
and one is a trivial signedness fix. Two patches change the locking
and lockless concurrency control in account(), including one bugfix.
The bug is related to the one Jiri found and fixed in May.


Greg Price (11):
random: fix typos / spelling errors in comments
random: fix comment on proc_do_uuid
random: fix description of get_random_bytes
random: simplify loop in random_read
random: declare trickle_count unsigned
random: fix comment on "account"
random: simplify accounting code slightly
random: simplify accounting logic
random: forget lock in lockless accounting
random: pull 'min' check in accounting to inside lockless update
random: simplify accounting code

drivers/char/random.c | 164 ++++++++++++++++++++------------------------------
1 file changed, 66 insertions(+), 98 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/