diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-12-23 16:22:34 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-12-23 16:22:34 +0100 |
commit | f5908267b67917b8cbd98b27fd2be9b5f62ec76f (patch) | |
tree | dd3dcc47efa84d218c537dc47ea414b543abaf1c /drivers/pps | |
parent | Linux 2.6.33-rc1 (diff) | |
download | linux-f5908267b67917b8cbd98b27fd2be9b5f62ec76f.tar.xz linux-f5908267b67917b8cbd98b27fd2be9b5f62ec76f.zip |
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: Dan Carpenter <error27@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions