Re: [PATCH v2 1/2] crypto: amcc: Hold the reference returned by of_find_compatible_node

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

 



On Thu, Jun 30, 2022 at 04:36:56PM +0800, Liang He wrote:
> In crypto4xx_probe(), we should hold the reference returned by
> of_find_compatible_node() and use it to call of_node_put to keep
>  refcount balance.
> 
> Signed-off-by: Liang He <windhl@xxxxxxx>
> ---
>  changelog:
>  
>  v2: split v1 into two commits, use short coding format for 'np=xx;'
>  v1: fix bugs in two directories (amcc,nx) of crypto
> 
>  v1-link: https://lore.kernel.org/all/20220621073742.4081013-1-windhl@xxxxxxx/
> 
>  drivers/crypto/amcc/crypto4xx_core.c | 40 +++++++++++++++++-----------
>  1 file changed, 24 insertions(+), 16 deletions(-)

All 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