Re: [Xen-devel] [PATCH 4/6] Arm/GICv2: don't needlessly use xzalloc_bytes()

2020-02-05 Thread Julien Grall
Hi Jan, On 05/02/2020 13:16, Jan Beulich wrote: ... when plain xzalloc() (which is more type safe) does. Signed-off-by: Jan Beulich Acked-by: Julien Grall Cheers, --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -969,7 +969,7 @@ static void gicv2_add_v2m_frame_to_list(

[Xen-devel] [PATCH 4/6] Arm/GICv2: don't needlessly use xzalloc_bytes()

2020-02-05 Thread Jan Beulich
... when plain xzalloc() (which is more type safe) does. Signed-off-by: Jan Beulich --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -969,7 +969,7 @@ static void gicv2_add_v2m_frame_to_list( nr_spis, V2M_MAX_SPI - V2M_MIN_SPI + 1); /* Allocate an entry to record n