[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y20LuAqHljYI4Bo8@kroah.com>
Date: Thu, 10 Nov 2022 15:33:28 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH] virt: fsl_hypervisor: Replace NO_IRQ by 0
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@...roup.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
Powered by blists - more mailing lists