From: Yang Shen <shenyang39@huawei.com>
To: Barry Song <21cnbao@gmail.com>, <davem@davemloft.net>,
<herbert@gondor.apana.org.au>, <linux-crypto@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
Barry Song <v-songbaohua@oppo.com>,
Zhou Wang <wangzhou1@hisilicon.com>
Subject: Re: [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
Date: Wed, 28 Feb 2024 14:48:34 +0800 [thread overview]
Message-ID: <7163b400-1e35-49ea-9a12-9dae27428431@huawei.com> (raw)
In-Reply-To: <20240220044222.197614-1-v-songbaohua@oppo.com>
在 2024/2/20 12:42, Barry Song 写道:
> Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
> works asynchronously.
>
> Cc: Yang Shen <shenyang39@huawei.com>
> Cc: Zhou Wang <wangzhou1@hisilicon.com>
> Signed-off-by: Barry Song <v-songbaohua@oppo.com>
> ---
> drivers/crypto/hisilicon/zip/zip_crypto.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/crypto/hisilicon/zip/zip_crypto.c b/drivers/crypto/hisilicon/zip/zip_crypto.c
> index c650c741a18d..94e2d66b04b6 100644
> --- a/drivers/crypto/hisilicon/zip/zip_crypto.c
> +++ b/drivers/crypto/hisilicon/zip/zip_crypto.c
> @@ -591,6 +591,7 @@ static struct acomp_alg hisi_zip_acomp_deflate = {
> .base = {
> .cra_name = "deflate",
> .cra_driver_name = "hisi-deflate-acomp",
> + .cra_flags = CRYPTO_ALG_ASYNC,
> .cra_module = THIS_MODULE,
> .cra_priority = HZIP_ALG_PRIORITY,
> .cra_ctxsize = sizeof(struct hisi_zip_ctx),
Thx!
Acked-by: Yang Shen <shenyang39@huawei.com>
prev parent reply other threads:[~2024-02-28 6:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 4:42 Barry Song
2024-02-20 4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
2024-02-21 21:18 ` Tom Zanussi
2024-02-28 6:48 ` Yang Shen [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=7163b400-1e35-49ea-9a12-9dae27428431@huawei.com \
--to=shenyang39@huawei.com \
--cc=21cnbao@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=v-songbaohua@oppo.com \
--cc=wangzhou1@hisilicon.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®