diff options
| author | Selby Mashiki <mashikiselby@gmail.com> | 2026-10-25 21:03:22 +0200 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-11-02 11:52:46 +0100 |
| commit | 21250426a8469d3bc43c2f0c69ed5497ee9ff7d4 (patch) | |
| tree | c40e04b44e5c1155bd7963da659f00099d255544 /tools/perf/scripts/python | |
| parent | a94cfeb60dc1a9f1e73718d3ba2f9e70834a6b90 (diff) | |
memory: tegra: fix device_node leak in tegra186_mc_probe_device()
tegra186_mc_probe_device() iterates over the "interconnects" phandles
using of_parse_phandle_with_args(), which increments the reference count
of args.np on each successful call, but never drops the reference with
of_node_put(args.np).
Call of_node_put(args.np) at the end of each loop iteration.
Fixes: fe3b082a6eb8 ("memory: tegra: Add SID override programming for MC clients")
Signed-off-by: Selby Mashiki <mashikiselby@gmail.com>
Link: https://patch.msgid.link/20261025190322.449324-1-mashikiselby@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
