aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThorsten Blum <blum@kernel.org>2026-09-24 23:21:13 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-10-02 18:12:44 +1000
commit7e7be8815143751c20260f80cb4e7fe14dd24b74 (patch)
treed6869cca5646b98498d5cd2c2b9b8ee819fa1840 /scripts/Makefile.thinlto
parentrhashtable: specialize default comparison for constant parameters (diff)
hwrng: core - reject unknown RNG names
In rng_current_store(), err is 0 after successfully locking rng_mutex, and if the requested RNG name cannot be found, the function reports success even though the current RNG was not changed. Set err = -ENODEV before searching the RNG list to reject unknown names. Fixes: 142a27f0a731 ("hwrng: core - Reset user selected rng by writing "" to rng_current") Cc: stable@vger.kernel.org Signed-off-by: Thorsten Blum <blum@kernel.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions