Re: [PATCH v2] spi: ppc4xx: handle irq_of_parse_and_map() errors

From: Mark Brown
Date: Mon Jul 22 2024 - 09:40:30 EST


On Mon, Jul 22, 2024 at 08:35:19PM +0800, Ma Ke wrote:
> Zero and negative number is not a valid IRQ for in-kernel code and the
> irq_of_parse_and_map() function returns zero on error. So this check for
> valid IRQs should only accept values > 0.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 44dab88e7cc9 ("spi: add spi_ppc4xx driver")
> Signed-off-by: Ma Ke <make24@xxxxxxxxxxx>
> ---
> Changes in v2:
> - added Cc stable line;
> - added Fixes line.

The Cc stable seems clearly disproportionate here.

Attachment: signature.asc
Description: PGP signature