summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-05-23 22:07:16 +0300
committerHeiko Stuebner <heiko@sntech.de>2018-06-16 15:22:35 +0300
commitebfb081edc8afd250a6d290c37481bfb2262e7cb (patch)
treee2e24aa044337b6e83dbb91449cd277cd3b15033 /tools/perf/scripts/python/exported-sql-viewer.py
parente89ea355966182007712c396a3b8e78255f17c32 (diff)
downloadlinux-ebfb081edc8afd250a6d290c37481bfb2262e7cb.tar.xz
drm/rockchip: lvds: add missing of_node_put
The device node iterators perform an of_node_get on each iteration, so a jump out of the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // <smpl> @@ expression root,e; local idexpression child; iterator name for_each_child_of_node; @@ for_each_child_of_node(root, child) { ... when != of_node_put(child) when != e = child + of_node_put(child); ? break; ... } ... when != child // </smpl> Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Cc: stable@vger.kernel.org Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/1527102436-13447-6-git-send-email-Julia.Lawall@lip6.fr
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions