[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda4Q7M0KNnSx3OP45mdEg2YQiw2bk1JGiHgy8PSuK9adw@mail.gmail.com>
Date: Sun, 24 Apr 2022 16:25:07 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: cgel.zte@...il.com
Cc: Damien.Horsley@...tec.com, abrestic@...omium.org,
ezequiel.garcia@...tec.com, govindraj.raja@...tec.com,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
lv.ruyi@....com.cn, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH v2] pinctrl: fix error check return value of irq_of_parse_and_map()
On Sun, Apr 24, 2022 at 5:14 AM <cgel.zte@...il.com> wrote:
> From: Lv Ruyi <lv.ruyi@....com.cn>
>
> The irq_of_parse_and_map() function returns 0 on failure, and does not
> return an negative value.
>
> Fixes: cefc03e5995e ("pinctrl: Add Pistachio SoC pin control driver")
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
> ---
> v2: don't print irq, and return -EINVAL rather than 0
Patch applied for fixes (changed the subject a bit).
Thanks!
Linus Walleij
Powered by blists - more mailing lists