summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-11-08 14:46:47 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-11-10 13:03:00 +0300
commit7f94d0498f9c763f37172c08059ae91804c3075a (patch)
tree00fea0f4895092baef307209f38b460f7f3b7802 /tools/perf/scripts/python/stackcollapse.py
parentfe5b3ce8b4377e543960220f539b989a927afd8a (diff)
downloadlinux-7f94d0498f9c763f37172c08059ae91804c3075a.tar.xz
stmmac: dwmac-loongson: fix missing of_node_put() while module exiting
The node returned by of_get_child_by_name() with refcount decremented, of_node_put() needs be called when finish using it. So add it in the error path in loongson_dwmac_probe() and in loongson_dwmac_remove(). Fixes: 2ae34111fe4e ("stmmac: dwmac-loongson: fix invalid mdio_node") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions