Skip to content
Commit 9d86f091 authored by Liang He's avatar Liang He Committed by Michael Ellerman
Browse files

powerpc/44x: Add of_node_put() when break out from for_each



In ppc47x_init_irq(), we need to call of_node_put() when there is
a break during the iteration of for_each_node_with_property() which
will automatically increase and decrease the refcount.

Signed-off-by: default avatarLiang He <windhl@126.com>
[mpe: mpic_alloc() takes its own reference]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701133126.243102-1-windhl@126.com
parent 110a1fcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment