]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 18 Jan 2022 12:03:55 +0000 (13:03 +0100)
commit76e635200a9ef7c2469573b2acc52f851a143d6a
treed3681c0eb330325779e30c44b47e34ed87cce1da
parent813cf635d0bd2fa6636e7a67bdcf7c1e77f6a55b
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