Re: [PATCH] of: irq: Fix the return value for of_irq_parse_one() stub

From: Stephen Rothwell
Date: Wed Feb 10 2021 - 16:14:03 EST


Hi Saravana,

On Wed, 10 Feb 2021 12:00:49 -0800 Saravana Kannan <saravanak@xxxxxxxxxx> wrote:
>
> When commit 1852ebd13542 ("of: irq: make a stub for of_irq_parse_one()")
> added a stub for of_irq_parse_one() it set the return value to 0. Return
> value of 0 in this instance means the call succeeded and the out_irq
> pointer was filled with valid data. So, fix it to return an error value.
>
> Fixes: 1852ebd13542 ("of: irq: make a stub for of_irq_parse_one()")
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>

Oops, sorry about that.

Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

--
Cheers,
Stephen Rothwell

Attachment: pgp8PXZQoaqEA.pgp
Description: OpenPGP digital signature