[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167555802448.1621279.10787309982288240636.b4-ty@ellerman.id.au>
Date: Sun, 05 Feb 2023 11:47:04 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
Nicholas Piggin <npiggin@...il.com>,
Michael Ellerman <mpe@...erman.id.au>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ
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
Powered by blists - more mailing lists