Re: [PATCH] memory: tegra: fix device_node leak in tegra186_mc_probe_device()

From: Krzysztof Kozlowski

Date: Sat Oct 31 2026 - 10:42:55 EST



On Sun, 25 Oct 2026 21:03:22 +0200, Selby Mashiki wrote:
> 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.
>
> [...]

Applied, thanks!

[1/1] memory: tegra: fix device_node leak in tegra186_mc_probe_device()
https://git.kernel.org/krzk/linux-mem-ctrl/c/3de6a98362e7c833ba78f5928890744ca9187cdc

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>