Re: [PATCH] mpc832x_rdb: fix of_irq_to_resource() error check

2017-08-01 Thread Scott Wood
On Mon, 2017-07-31 at 20:04 +1000, Michael Ellerman wrote: > Scott Wood writes: > > > On Sat, 2017-07-29 at 22:52 +0300, 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 MPC8

Re: [PATCH] mpc832x_rdb: fix of_irq_to_resource() error check

2017-07-31 Thread Michael Ellerman
Scott Wood writes: > On Sat, 2017-07-29 at 22:52 +0300, 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

Re: [PATCH] mpc832x_rdb: fix of_irq_to_resource() error check

2017-07-29 Thread Scott Wood
On Sat, 2017-07-29 at 22:52 +0300, 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: 7a4228bbf

[PATCH] mpc832x_rdb: fix of_irq_to_resource() error check

2017-07-29 Thread Sergei Shtylyov
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