Re: [PATCH -next] crypto: fix missing unlock on error in safexcel_ahash_send_req()

2018-03-23 Thread Herbert Xu
On Tue, Mar 13, 2018 at 02:54:03PM +, Wei Yongjun wrote: > Add the missing unlock before return from function > safexcel_ahash_send_req() in the error handling case. > > Fixes: cff9a17545a3 ("crypto: inside-secure - move cache result dma mapping > to request") > Signed-off-by: Wei Yongjun P

Re: [PATCH -next] crypto: fix missing unlock on error in safexcel_ahash_send_req()

2018-03-13 Thread Antoine Tenart
Hi Wei, On Tue, Mar 13, 2018 at 02:54:03PM +, Wei Yongjun wrote: > Add the missing unlock before return from function > safexcel_ahash_send_req() in the error handling case. > > Fixes: cff9a17545a3 ("crypto: inside-secure - move cache result dma mapping > to request") > Signed-off-by: Wei Yo

[PATCH -next] crypto: fix missing unlock on error in safexcel_ahash_send_req()

2018-03-13 Thread Wei Yongjun
Add the missing unlock before return from function safexcel_ahash_send_req() in the error handling case. Fixes: cff9a17545a3 ("crypto: inside-secure - move cache result dma mapping to request") Signed-off-by: Wei Yongjun --- drivers/crypto/inside-secure/safexcel_hash.c | 4 +++- 1 file changed,