Re: [PATCH] phy: renesas: rcar-gen2: Fix double of_node_put on phy creation failure

Vinod Koul <[email protected]>
Newsgroups org.infradead.lists.linux-phy,org.kernel.vger.linux-kernel,org.kernel.vger.linux-renesas-soc
Message-ID <[email protected]>
On Mon, 03 Aug 2026 20:43:24 +0800, Felix Gu wrote:
> for_each_child_of_node_scoped() releases the node reference on scope
> exit, so the explicit of_node_put(np) in the devm_phy_create() error
> path drops it twice.
> 
> Drop the redundant of_node_put() and let the scoped cleanup handle it.
> 
> 
> [...]

Applied, thanks!

[1/1] phy: renesas: rcar-gen2: Fix double of_node_put on phy creation failure
      commit: b780b8929c759cfa7a892d58625a5ad46cb1cbd2

Best regards,
-- 
~Vinod



-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.