Re: [PATCH net] net: ethernet: ti: am65-cpsw: fix port_np reference counting
From: Simon Horman
Date: Tue Apr 15 2025 - 14:32:20 EST
On Mon, Apr 14, 2025 at 10:39:42AM +0200, Michael Walle wrote:
> A reference to the device tree node is stored in a private struct, thus
> the reference count has to be incremented. Also, decrement the count on
> device removal and in the error path.
>
> Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
> Signed-off-by: Michael Walle <mwalle@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>