Re: [PATCH] crypto: caam - Fix error handling in caam_rng_init()

2015-08-13 Thread Herbert Xu
On Wed, Aug 12, 2015 at 11:48:42AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com In the error paths we should free the resources that were previously acquired, so fix it accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Applied. --

[PATCH] crypto: caam - Fix error handling in caam_rng_init()

2015-08-12 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com In the error paths we should free the resources that were previously acquired, so fix it accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/crypto/caam/caamrng.c | 14 +++--- 1 file changed, 11

Re: [PATCH] crypto: caam - Fix error handling in caam_rng_init()

2015-08-12 Thread Horia Geantă
On 8/12/2015 5:48 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com In the error paths we should free the resources that were previously acquired, so fix it accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Reviewed-by: Horia Geantă