[PATCH] virt: fsl_hypervisor: Replace NO_IRQ by 0
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Nov 11 01:33:28 AEDT 2022
On Thu, Nov 10, 2022 at 01:25:14PM +0000, Christophe Leroy wrote:
> Hi Greg,
>
> Le 06/10/2022 à 07:27, Christophe Leroy a écrit :
> > NO_IRQ is used to check the return of irq_of_parse_and_map().
> >
> > On some architecture NO_IRQ is 0, on other architectures it is -1.
> >
> > irq_of_parse_and_map() returns 0 on error, independent of NO_IRQ.
> >
> > So use 0 instead of using NO_IRQ.
> >
> > Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
>
> Do you plan to apply this patch, or is any change required ?
It is in my review queue, give me time to catch up...
thanks,
greg k-h
More information about the Linuxppc-dev
mailing list