aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2022-09-05 14:56:37 +1000
committerMichael Ellerman <[email protected]>2022-09-06 11:03:31 +1000
commitc28c2d4abdf95655001992c4f52dc243ba00cac3 (patch)
treedfcebd1a3c0274d22c01c55c5cf44d2edf985091 /tools/perf/scripts/python
parent245685495bff35062a394f5cdbd32b237dc596a5 (diff)
powerpc/pasemi: Use of_root in pas_pci_init()
Currently in pas_pci_init() a reference to the root node is leaked due to a missing of_node_put(). Instead just use of_root directly. Note that converting to of_find_compatible_node(NULL, ...) would not be entirely equivalent, because that would check the compatible property of the root node, whereas using of_root skips checking the root node and start the search at the first child of the root. Reported-by: Liang He <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions