Re: [PATCH] crypto: fix missing unlock on error case

2012-10-24 Thread Herbert Xu
On Sun, Oct 21, 2012 at 07:56:42PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing unlock on the error handling path in function > tegra_aes_get_random() and tegra_aes_rng_reset(). > > Signed-off-by: Wei Yongjun Patch applied. Thanks. -- Email: Herbert Xu Home Page: http:/

[PATCH] crypto: fix missing unlock on error case

2012-10-21 Thread Wei Yongjun
From: Wei Yongjun Add the missing unlock on the error handling path in function tegra_aes_get_random() and tegra_aes_rng_reset(). Signed-off-by: Wei Yongjun --- drivers/crypto/tegra-aes.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/tegra-aes.c b/d