[PATCH v1 4/7] irqchip/gic-v3: Switch to bitmap_zalloc()

Marc Zyngier maz at kernel.org
Mon Jul 26 10:05:47 PDT 2021


On Fri, 18 Jun 2021 16:16:54 +0100,
Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:

> @@ -3376,8 +3376,7 @@ static struct its_device *its_create_device(struct its_node *its, u32 dev_id,
>  	if (alloc_lpis) {
>  		lpi_map = its_lpi_alloc(nvecs, &lpi_base, &nr_lpis);
>  		if (lpi_map)
> -			col_map = kcalloc(nr_lpis, sizeof(*col_map),
> -					  GFP_KERNEL);
> +			col_map = kcalloc(nr_lpis, sizeof(*col_map), GFP_KERNEL);

This looks like an unrelated/spurious change. I've reverted it locally.

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list