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

oliver.upton at linux.dev oliver.upton at linux.dev
Fri Jul 8 11:59:12 PDT 2022


July 4, 2022 12:10 PM, "Christophe JAILLET" <christophe.jaillet at wanadoo.fr> 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 at wanadoo.fr>

Reviewed-by: Oliver Upton <oliver.upton at linux.dev>



More information about the linux-arm-kernel mailing list