random: cleanup integer types
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jan 2022 16:48:58 +0000 (17:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:29:01 +0000 (09:29 +0200)
commit8aa9ddc4db2947c50568cfd222bdf16b3a076f6d
treec0219fae08256235ee5bc0e17d29d55c1664eb38
parent4330c485f92cde74756ce9b9a91ebb160385aa1e
random: cleanup integer types

commit d38bb0853589c939573ea50e9cb64f733e0e273d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c