aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2019-01-13 09:44:51 +0000
committerNeil Armstrong <[email protected]>2019-01-14 15:36:43 +0000
commitf672b93e4a0a4947d2e1103ed8780e01e13eadb6 (patch)
tree5645acf162457dbc0d165666abb164064b21ec4a /tools/perf/util/c++/clang.cpp
parentdrm/virtio: drop prime import/export callbacks (diff)
downloadkernel-f672b93e4a0a4947d2e1103ed8780e01e13eadb6.tar.gz
kernel-f672b93e4a0a4947d2e1103ed8780e01e13eadb6.zip
drm/meson: add missing of_node_put
Add an of_node_put when the result of of_graph_get_remote_port_parent is not available. An of_node_put is also needed when meson_probe_remote completes. This was present at the recursive call, but not in the call from meson_drv_probe. The semantic match that finds this problem is as follows (http://coccinelle.lip6.fr): // <smpl> @r exists@ local idexpression e; expression x; @@ e = of_graph_get_remote_port_parent(...); ... when != x = e when != true e == NULL when != of_node_put(e) when != of_fwnode_handle(e) ( return e; | *return ...; ) // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions