lkml.org 
[lkml]   [2023]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ
Date
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

\
 
 \ /
  Last update: 2023-03-27 00:10    [W:0.034 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site