Re: [PATCH] net: stmmac: Fix MDIO node leak in stmmac_mdio_setup()
From: Wentao Liang
Date: Sun Nov 08 2026 - 06:02:52 EST
Hi Simon,
Sorry for the very late reply.
You are right that returning through a label keeps the cleanup in one
place, and makes it clear that the reference on plat->mdio_node is
dropped on this path as well. I have reworked the patch that way, and a
v2 follows in a separate mail, which also records how the issue was
found and how it was tested.
I am going through the remaining review comments one by one now, and I
will not send patches in bulk again.
Thanks,
Wentao