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 da71481 commit 6fd3ff0
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 108 deletions.

0 comments on commit 6fd3ff0

Please sign in to comment.