Messages in this thread | | | Date | Fri, 29 Jul 2022 18:39:49 +0800 | From | Herbert Xu <> | 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@wanadoo.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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |