Re: [PATCH] net: mdio: realtek-rtl9300: use scoped device_for_each_child_node loop

From: Andrew Lunn

Date: Sun Apr 05 2026 - 19:31:37 EST


On Sun, Apr 05, 2026 at 02:51:52PM +0800, Felix Gu wrote:
> Switch to device_for_each_child_node_scoped() to auto-release fwnode
> references on early exit.
>
> Fixes: 24e31e474769 ("net: mdio: Add RTL9300 MDIO driver")
> Signed-off-by: Felix Gu <ustc.gu@xxxxxxxxx>

Hi Felix

Please take a read of:

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

You need to set the subject line correctly.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew