Re: [PATCH] KVM: arm64: Use the bitmap API to allocate bitmaps

From: oliver . upton
Date: Fri Jul 08 2022 - 14:59:21 EST


July 4, 2022 12:10 PM, "Christophe JAILLET" <christophe.jaillet@xxxxxxxxxx> wrote:
> Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
>
> It is less verbose and it improves the semantic.
>
> While at it, turn a bitmap_clear() into an equivalent bitmap_zero(). It is
> also less verbose.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Reviewed-by: Oliver Upton <oliver.upton@xxxxxxxxx>