From: Herbert Xu Date: Wed, 23 Dec 2009 15:22:34 +0000 (+0800) Subject: hwrng: core - Fix double unlock in rng_dev_read X-Git-Tag: v2.6.33-rc3~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5908267b67917b8cbd98b27fd2be9b5f62ec76f;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed