Re: [PATCH RESEND v3] crypto: caam - add missing put_device() call
From: Herbert Xu
Date: Thu Mar 07 2019 - 03:26:18 EST
On Fri, Mar 01, 2019 at 07:19:25PM +0200, Horia GeantÄ wrote:
> From: Wen Yang <yellowriver2010@xxxxxxxxxxx>
>
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we should release that reference.
>
> Fixes: 35af64038623 ("crypto: caam - Check for CAAM block presence before registering with crypto layer")
> Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms")
> Reviewed-by: Horia GeantÄ <horia.geanta@xxxxxxx>
> Signed-off-by: Wen Yang <yellowriver2010@xxxxxxxxxxx>
> ---
>
> Looks like previous versions, for some unknown reason, did not reach
> the mailing lists.
>
> Resending v3 with the addition of a 2nd Fixes and Reviewed-by tags,
> cf. https://lkml.org/lkml/2019/2/11/383
>
> drivers/crypto/caam/caamalg.c | 12 +++++++-----
> drivers/crypto/caam/caamalg_qi.c | 11 ++++++++---
> drivers/crypto/caam/caamhash.c | 18 +++++++++++-------
> drivers/crypto/caam/caampkc.c | 14 ++++++++++----
> drivers/crypto/caam/caamrng.c | 22 ++++++++++++++--------
> 5 files changed, 50 insertions(+), 27 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt