diff options
| author | Liang He <[email protected]> | 2022-06-20 21:25:53 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-09-05 17:30:29 +1000 |
| commit | 605c27f3802038e4623b6fd1bbfa021e1f65b5c4 (patch) | |
| tree | a04c43ef53d0de12f9b45572dd162b7344c8ca82 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | afa6a472a3d2a8dd477b285eeb67b3593546647b (diff) | |
powerpc/powernv: Add missing of_node_put()s
In these driver init functions, there are two kinds of errors:
(1) missing of_put_node() for of_find_compatible_node()'s returned
pointer (refcount incremented) in fail path or when it is not
used anymore.
(2) missing of_put_node() for 'for_each_xxx' loop's break
Signed-off-by: Liang He <[email protected]>
[mpe: Use out_put_xxx goto label naming]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions