[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211129183701.GD1065466@nvidia.com>
Date: Mon, 29 Nov 2021 14:37:01 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: bryantan@...are.com, vdasa@...are.com, pv-drivers@...are.com,
dledford@...hat.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/2] RDMA/pvrdma: Use bitmap_zalloc() when applicable
On Thu, Nov 25, 2021 at 09:05:40PM +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@...adoo.fr>
> ---
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists