diff options
author | Liang He <windhl@126.com> | 2022-07-02 09:44:49 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-07-12 10:58:33 -0600 |
commit | d17e37c41b7ed38459957a5d2968ba61516fd5c2 (patch) | |
tree | 1e6f13221b3405b0337716d80a004fbbf990fbe7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9465a98458fe2a05015bc90d7587fb891cd0c0cc (diff) |
of: device: Fix missing of_node_put() in of_dma_set_restricted_buffer
We should use of_node_put() for the reference 'node' returned by
of_parse_phandle() which will increase the refcount.
Fixes: fec9b625095f ("of: Add plumbing for restricted DMA pool")
Co-authored-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220702014449.263772-1-windhl@126.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions