diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2022-02-13 21:46:30 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-18 16:21:10 +1100 |
commit | f0fb6953b39e015acfecb8b5158642614e6ce364 (patch) | |
tree | 6e769ac5152fa0dea466d7990b78eb4f7f409965 /arch | |
parent | 077bb7a1baec75bd2d7d08e2cbdeb5b72344a4ad (diff) | |
download | linux-stable-f0fb6953b39e015acfecb8b5158642614e6ce364.tar.gz linux-stable-f0fb6953b39e015acfecb8b5158642614e6ce364.tar.bz2 linux-stable-f0fb6953b39e015acfecb8b5158642614e6ce364.zip |
hwrng: core - use per-rng quality value instead of global setting
The current_quality variable exposed as a module parameter is
fundamentally broken: If it is set at boot time, it is overwritten once
the first hw rng device is loaded; if it is set at runtime, it is
without effect if the hw rng device had its quality value set to 0 (and
no default_quality was set); and if a new rng is selected, it gets
overwritten. Therefore, mark it as obsolete, and replace it by the
per-rng quality setting.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions