Thread (5 messages) 5 messages, 4 authors, 2017-08-03

Re: mpc832x_rdb: fix of_irq_to_resource() error check

flat view

From: Michael Ellerman <hidden>
Date: 2017-08-03 10:19:41

On Sat, 2017-07-29 at 19:52:09 UTC, Sergei Shtylyov wrote:
of_irq_to_resource() has recently been  fixed to return negative error #'s
along with 0 in case of failure,  however the Freescale MPC832x RDB board
code still only regards 0 as as failure indication -- fix it up.

Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
Signed-off-by: Sergei Shtylyov <redacted>
Acked-by: Scott Wood <oss@buserror.net>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/f29bb7861a5107cc1afbf5a565c310

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help