lkml.org 
[lkml]   [2019]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND v3] crypto: caam - add missing put_device() call
On Fri, Mar 01, 2019 at 07:19:25PM +0200, Horia Geantă wrote:
> From: Wen Yang <yellowriver2010@hotmail.com>
>
> 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@nxp.com>
> Signed-off-by: Wen Yang <yellowriver2010@hotmail.com>
> ---
>
> 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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2019-03-07 09:27    [W:0.028 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site