Re: [PATCH] irqchip/jcore-aic: Fix missing allocation of IRQ descriptors

From: Rob Landley
Date: Thu May 11 2023 - 23:05:38 EST


On 5/10/23 11:33, John Paul Adrian Glaubitz wrote:
> The initialization function for the J-Core AIC aic_irq_of_init() is
> currently missing the call to irq_alloc_descs() which allocates and
> initializes all the IRQ descriptors. Add missing function call and
> return the error code from irq_alloc_descs() in case the allocation
> fails.
>
> Fixes: 981b58f66cfc ("irqchip/jcore-aic: Add J-Core AIC driver")
> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>

Tested-by: Rob Landley <rob@xxxxxxxxxxx>

Rob