random: make consistent use of buf and len
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 May 2022 11:18:46 +0000 (13:18 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 19 May 2022 14:54:15 +0000 (16:54 +0200)
commita19402634c435a4eae226df53c141cdbb9922e7b
treecf0f6586f65614baa90a571b63ba8087e42edc0f
parent7c3a8a1db5e03d02cc0abb3357a84b8b326dfac3
random: make consistent use of buf and len

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>
drivers/char/random.c
include/linux/random.h