diff options
author | Nicholas Mc Guire <[email protected]> | 2018-07-11 20:32:45 +0200 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-07-27 19:48:57 -0700 |
commit | 28ec2238f37e72a3a40a7eb46893e7651bcc40a6 (patch) | |
tree | a615a6e2b8ee07be7e4e2a7d1e1b2d38f57a849b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1259519e618d479ede8a0db5474b3aff99f5056 (diff) |
MIPS: generic: fix missing of_node_put()
of_find_compatible_node() returns a device_node pointer with refcount
incremented and must be decremented explicitly.
As this code is using the result only to check presence of the interrupt
controller (!NULL) but not actually using the result otherwise the
refcount can be decremented here immediately again.
Signed-off-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/19820/
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions