Messages in this thread |  | | Date | Thu, 7 Nov 2013 18:57:25 -0500 | From | Greg Price <> | Subject | [PATCH 00/11] random: code cleanups |
| |
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.
Cheers, Greg
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(-)
-- 1.8.3.2
|  |