]> git.baikalelectronics.ru Git - kernel.git/commit
random: de-duplicate INPUT_POOL constants
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 13 Jan 2022 15:11:21 +0000 (16:11 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 18 Jan 2022 12:03:56 +0000 (13:03 +0100)
commitcf6747654dfc261b6dac9e9eda5814b4b404bf54
treec4500621936af2de5ed7ce7d48c0e9b48c6cf55d
parentcfa352496bf0d48fe36f39372efeaf19708bac3a
random: de-duplicate INPUT_POOL constants

We already had the POOL_* constants, so deduplicate the older INPUT_POOL
ones. As well, fold EXTRACT_SIZE into the poolinfo enum, since it's
related.

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