[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YbcQ6pNZ1M4mLIx3@matsya>
Date: Mon, 13 Dec 2021 14:52:50 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] dmaengine: sh: Use bitmap_zalloc() when applicable
On 23-11-21, 22:26, Christophe JAILLET wrote:
> 'shdma_slave_used' is a bitmap. So 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.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists