[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YigdPfAF8y3LBtl2@gondor.apana.org.au>
Date: Wed, 9 Mar 2022 15:21:33 +1200
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Dāvis Mosāns <davispuh@...il.com>
Cc: linux-kernel@...r.kernel.org, thomas.lendacky@....com,
john.allen@....com, linux-crypto@...r.kernel.org,
dmaengine@...r.kernel.org, davispuh@...il.com
Subject: Re: [PATCH] ccp: ccp_dmaengine_unregister release dma channels
Dāvis Mosāns <davispuh@...il.com> wrote:
> ccp_dmaengine_register adds dma_chan->device_node to dma_dev->channels list
> but ccp_dmaengine_unregister didn't remove them.
> That can cause crashes in various dmaengine methods that tries to use dma_dev->channels
>
> Signed-off-by: Dāvis Mosāns <davispuh@...il.com>
> ---
> drivers/crypto/ccp/ccp-dmaengine.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists