Re: [PATCH RESEND v3] crypto: caam - add missing put_device() call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux