random: cleanup integer types
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jan 2022 16:48:58 +0000 (17:48 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Jan 2022 16:25:32 +0000 (17:25 +0100)
commit6c3d73f0bfe0c5c5c5d6abb3390bdee87381b07b
tree0e04b40e11fbf7107a70f6cb645a79fb1c8df75b
parent9a74a4e80bfbbd244b4d66c6b348ac3aec6f88d0
random: cleanup integer types

Rather than using the userspace type, __uXX, switch to using uXX. And
rather than using variously chosen `char *` or `unsigned char *`, use
`u8 *` uniformly for things that aren't strings, in the case where we
are doing byte-by-byte traversal.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c