diff options
| author | YueHaibing <[email protected]> | 2018-04-25 19:27:07 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-06-03 20:43:35 +1000 |
| commit | 589b1f7e4b0db4c31cef3b55f7514857bfc4b093 (patch) | |
| tree | 52a7c5e4b693f56bfff0f94112a96c2470a6dc02 /tools/perf/scripts/python | |
| parent | c5cbde2df3951c59dc099dd2e452b534cabd0eb8 (diff) | |
powerpc/xics: Add missing of_node_put() in error path
The device node obtained with of_find_compatible_node() should be
released by calling of_node_put(). But it was not released when
of_get_property() failed.
Signed-off-by: YueHaibing <[email protected]>
[mpe: Invert the sense of the if so we only need one return path]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions