[PATCH] pinctrl-st: fix of_irq_to_resource() result check

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Mon Aug 7 02:56:14 PDT 2017


On 8/7/2017 12:05 PM, Linus Walleij wrote:

>> of_irq_to_resource() has recently been fixed to return negative error #'s
>> along with 0 in case of failure, however the ST driver still only regards
>> 0 as failure indication -- fix it up.
>>
>> Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
> 
> Patch applied.

    Again, not seeing it...

> Yours,
> Linus Walleij

MBR, Sergei



More information about the linux-arm-kernel mailing list