[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YuO49YudyXyK2o5x@gondor.apana.org.au>
Date: Fri, 29 Jul 2022 18:39:49 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Yang Shen <shenyang39@...wei.com>,
Zhou Wang <wangzhou1@...ilicon.com>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-crypto@...r.kernel.org
Subject: Re: [PATCH v2] crypto: hisilicon/zip: Use the bitmap API to allocate
bitmaps
On Thu, Jul 21, 2022 at 10:58:53PM +0200, Christophe JAILLET wrote:
> Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
> It is less verbose and it improves the semantic.
>
> While at it, add an explicit include <linux/bitmap.h>.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> v1 -> v2
> - add the missing include <linux/bitmap.h>
> ---
> drivers/crypto/hisilicon/zip/zip_crypto.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
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