From: Herbert Xu <herbert@gondor.apana.org.au>
To: "Dāvis Mosāns" <davispuh@gmail.com>
Cc: linux-kernel@vger.kernel.org, thomas.lendacky@amd.com,
john.allen@amd.com, linux-crypto@vger.kernel.org,
dmaengine@vger.kernel.org, davispuh@gmail.com
Subject: Re: [PATCH] ccp: ccp_dmaengine_unregister release dma channels
Date: Wed, 9 Mar 2022 15:21:33 +1200 [thread overview]
Message-ID: <YigdPfAF8y3LBtl2@gondor.apana.org.au> (raw)
In-Reply-To: <20220228031545.11639-1-davispuh@gmail.com>
Dāvis Mosāns <davispuh@gmail.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@gmail.com>
> ---
> drivers/crypto/ccp/ccp-dmaengine.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
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
prev parent reply other threads:[~2022-03-09 3:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 3:15 Dāvis Mosāns
2022-03-01 21:07 ` John Allen
2022-03-09 3:21 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YigdPfAF8y3LBtl2@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=davispuh@gmail.com \
--cc=dmaengine@vger.kernel.org \
--cc=john.allen@amd.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®