[PATCH] net: thunder_bgx: add a missing of_node_put

Simon Horman horms at kernel.org
Tue Sep 2 02:41:04 PDT 2025


On Mon, Sep 01, 2025 at 02:30:18PM -0700, Rosen Penev wrote:
> phy_np needs to get freed, just like the other child nodes.
> 
> Fixes: 5fc7cf179449 ("net: thunderx: Cleanup PHY probing code.")

I wonder if this leak has existed since commit 4863dea3fab0 ("net: Adding
support for Cavium ThunderX network controller")

> Signed-off-by: Rosen Penev <rosenp at gmail.com>

Otherwise, LGTM.

Reviewed-by: Simon Horman <horms at kernel.org>



More information about the linux-arm-kernel mailing list