Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f5908267 authored by Herbert Xu's avatar Herbert Xu
Browse files

hwrng: core - Fix double unlock in rng_dev_read



When the loop terminates with size == 0 in rng_dev_read we will
unlock the rng mutex twice.

Reported-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 55639353
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment