Re: [PATCH 1/2] cxl: Use the bitmap API to allocate bitmaps

2022-07-12 Thread Andrew Donnellan
On Mon, 2022-07-11 at 21:14 +0200, Christophe JAILLET wrote: > Use bitmap_zalloc()/bitmap_free() instead of hand-writing them. > > It is less verbose and it improves the semantic. > > Signed-off-by: Christophe JAILLET Thanks! Acked-by: Andrew Donnellan > --- >  drivers/misc/cxl/context.c | 2

[PATCH 1/2] cxl: Use the bitmap API to allocate bitmaps

2022-07-11 Thread Christophe JAILLET
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them. It is less verbose and it improves the semantic. Signed-off-by: Christophe JAILLET --- drivers/misc/cxl/context.c | 2 +- drivers/misc/cxl/guest.c | 2 +- drivers/misc/cxl/irq.c | 3 +-- drivers/misc/cxl/of.c | 5 ++---