diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2018-06-16 09:06:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-19 22:48:58 +0200 |
commit | 7ffa0928ce29480c6a9b55cf9e343333107e32cd (patch) | |
tree | 650b693e998a127999785df7af581b63c05b54d3 /tools/perf/util/trace-event-scripting.c | |
parent | 3d7d5919a51a7f8d0c8c51f7250cd5c4d9f3598e (diff) |
MIPS: Octeon: add missing of_node_put()
[ Upstream commit b1259519e618d479ede8a0db5474b3aff99f5056 ]
The call to of_find_node_by_name returns a node pointer with refcount
incremented thus it must be explicitly decremented here after the last
usage.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19558/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions