summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-07-11 16:15:50 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2022-08-11 19:13:31 +0300
commite0686dc6f2252e009c455fe99e2ce9d62a60eb47 (patch)
tree7a9c9cae249aefac29a84623d6146cc8313f5482 /tools/perf/scripts/python/export-to-sqlite.py
parent8759464d7b6309e23df95f12064a120422d6f780 (diff)
downloadlinux-e0686dc6f2252e009c455fe99e2ce9d62a60eb47.tar.xz
drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
The reference 'child' in the iteration of for_each_available_child_of_node() is only escaped out into a local variable which is only used to check its value. So we still need to the of_node_put() when breaking of the for_each_available_child_of_node() which will automatically increase and decrease the refcount. Fixes: ca454bd42dc2 ("drm/pl111: Support the Versatile Express") Signed-off-by: Liang He <windhl@126.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20220711131550.361350-1-windhl@126.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions