[PATCH] powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ

Michael Ellerman patch-notifications at ellerman.id.au
Sun Feb 5 11:47:04 AEDT 2023


On Mon, 23 Jan 2023 13:26:46 +0100, Christophe Leroy wrote:
> NO_IRQ is a relic from the old days. It is not used anymore in core
> functions. By the way, function irq_of_parse_and_map() returns value 0
> on error.
> 
> In some drivers, NO_IRQ is erroneously used to check the return of
> irq_of_parse_and_map().
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ
      https://git.kernel.org/powerpc/c/bab537805a10bdbf55b31324ba4a9599e0651e5e

cheers


More information about the Linuxppc-dev mailing list