diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-04-20 01:49:13 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@xilinx.com> | 2022-04-22 13:33:33 -0700 |
commit | 533bec143a4c32f7b2014a159d0f5376226e5b4d (patch) | |
tree | 1a9cf84c92a27eda0843d8d2289ac41754c2121f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f31076a6b2391896088fa81755a892213f07788e (diff) |
arm/xen: Fix some refcount leaks
The of_find_compatible_node() function returns a node pointer with
refcount incremented, We should use of_node_put() on it when done
Add the missing of_node_put() to release the refcount.
Fixes: 9b08aaa3199a ("ARM: XEN: Move xen_early_init() before efi_init()")
Fixes: b2371587fe0c ("arm/xen: Read extended regions from DT and init Xen resource")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions