Re: [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe
From: Simon Horman
Date: Sat Jul 26 2025 - 16:50:18 EST
On Fri, Jul 25, 2025 at 07:12:12PM +0200, Johan Hovold wrote:
> The reference count to the WED devices has already been incremented when
> looking them up using of_find_device_by_node() so drop the bogus
> additional reference taken during probe.
>
> Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
> Cc: stable@xxxxxxxxxxxxxxx # 5.19
> Cc: Felix Fietkau <nbd@xxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>