diff options
| author | Liang He <windhl@126.com> | 2022-07-01 21:31:26 +0800 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-05 17:30:28 +1000 |
| commit | 9d86f0919544d8e422be2a1d562de1dbbbb6052d (patch) | |
| tree | 512a4351bb834c49c3f08ba15d44c2df781f2654 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 110a1fcb6c4d55144d8179983a475f17a1d6f832 (diff) | |
| download | linux-9d86f0919544d8e422be2a1d562de1dbbbb6052d.tar.gz linux-9d86f0919544d8e422be2a1d562de1dbbbb6052d.zip | |
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: Liang He <windhl@126.com>
[mpe: mpic_alloc() takes its own reference]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701133126.243102-1-windhl@126.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
