[PATCH 2/6] irqchip/armada-370-xp: Fix return check in IPI alloc

Andrew Lunn andrew at lunn.ch
Sat Jan 2 13:24:03 EST 2021


On Sat, Jan 02, 2021 at 06:58:55PM +0100, Adam Lackorzynski wrote:
> __irq_domain_alloc_irqs returns a negative error
> code upon failure, not only 0. Also use irq_domain_alloc_irqs
> to require less default arguments.
> 
> Signed-off-by: Adam Lackorzynski <adam at l4re.org>

Fixes: f02147dd02eb ("irqchip/armada-370-xp: Configure IPIs as standard interrupts")

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list