Skip to content

Commit

Permalink
random: make consistent use of buf and len
Browse files Browse the repository at this point in the history
commit a194026 upstream.

The current code was a mix of "nbytes", "count", "size", "buffer", "in",
and so forth. Instead, let's clean this up by naming input parameters
"buf" (or "ubuf") and "len", so that you always understand that you're
reading this variety of function argument.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
zx2c4 authored and gregkh committed May 30, 2022
1 parent 33783ca commit 02102b6
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 104 deletions.

0 comments on commit 02102b6

Please sign in to comment.