random: code cleanups
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 12 repliesApplied
- v111 patches 10 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | random: fix typos / spelling errors in commentsdrivers/ | +3 | 1 reply | |
| 2/9 | random: fix comment on proc_do_uuiddrivers/ | +4 | 1 reply | |
| 3/9 | random: fix description of get_random_bytesdrivers/ | +3 | 1 reply | |
| 4/9 | random: simplify loop in random_readdrivers/ | +18 | 2 replies | |
| 5/9 | random: fix comment on "account"drivers/ | +21 | 1 reply | |
| 6/9 | random: simplify accounting logicdrivers/ | +4 | 1 reply | |
| 7/9 | random: forget lock in lockless accountingdrivers/ | +0 | 1 reply | |
| 8/9 | random: tighten bound on random_read_wakeup_threshdrivers/ | +1 | 1 reply | |
| 9/9 | random: simplify accounting codedrivers/ | +10 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] random: code cleanups
This series has my cleanups rebased onto the random.git tree, at v3.11-20-g392a546.
Four of the patches touch comments only. Three simplify code without changing its behavior (total diffstat: 32 insertions, 64 deletions). One drops a use of the lock where it doesn't now protect anything, and one tightens slightly a bound on a sysctl value to avoid a pathological case.
The bugfix that was in v1 was taken care of by Peter in a283b5c45 ("random: allow fractional bits to be tracked").
Cheers,
Greg
Greg Price (9):
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: fix comment on "account"
random: simplify accounting logic
random: forget lock in lockless accounting
random: tighten bound on random_read_wakeup_thresh
random: simplify accounting code
drivers/char/random.c | 144 +++++++++++++++++++++----------------------------- 1 file changed, 60 insertions(+), 84 deletions(-)
Signature · 1 line
1.8.3.2