[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7163b400-1e35-49ea-9a12-9dae27428431@huawei.com>
Date: Wed, 28 Feb 2024 14:48:34 +0800
From: Yang Shen <shenyang39@...wei.com>
To: Barry Song <21cnbao@...il.com>, <davem@...emloft.net>,
<herbert@...dor.apana.org.au>, <linux-crypto@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, Barry Song <v-songbaohua@...o.com>, Zhou
Wang <wangzhou1@...ilicon.com>
Subject: Re: [PATCH 1/2] crypto: hisilicon/zip - fix the missing
CRYPTO_ALG_ASYNC in cra_flags
在 2024/2/20 12:42, Barry Song 写道:
> Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
> works asynchronously.
>
> Cc: Yang Shen <shenyang39@...wei.com>
> Cc: Zhou Wang <wangzhou1@...ilicon.com>
> Signed-off-by: Barry Song <v-songbaohua@...o.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@...wei.com>
Powered by blists - more mailing lists