Messages in this thread | | | Date | Mon, 29 Nov 2021 14:36:49 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH] IB/hfi1: Use bitmap_zalloc() when applicable |
| |
On Thu, Nov 25, 2021 at 08:53:22PM +0100, Christophe JAILLET wrote: > Use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid some > open-coded arithmetic in allocator arguments. > > Also change the corresponding 'kfree()' into 'bitmap_free()' to keep > consistency. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > drivers/infiniband/hw/hfi1/user_sdma.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-)
Applied to for-next, thanks
Jason
| |