diff options
author | Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> | 2024-12-19 05:05:07 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-24 12:53:32 +0300 |
commit | e883c64778e5a9905fce955681f8ee38c7197e0f (patch) | |
tree | 2953ffb3cb6aba887ef55f8100b466d6afa0d13d /tools/perf/scripts/python/task-analyzer.py | |
parent | 0ab433180eb29bc69f9327e84028d878fb4670c5 (diff) | |
download | linux-e883c64778e5a9905fce955681f8ee38c7197e0f.tar.xz |
dmaengine: ti: edma: fix OF node reference leaks in edma_driver
The .probe() of edma_driver calls of_parse_phandle_with_fixed_args() but
does not release the obtained OF nodes. Thus add a of_node_put() call.
This bug was found by an experimental verification tool that I am
developing.
Fixes: 1be5336bc7ba ("dmaengine: edma: New device tree binding")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241219020507.1983124-3-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions