aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/clk/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorShitalkumar Gandhi <shital.gandhi45@gmail.com>2026-05-07 19:50:24 +0530
committerJakub Kicinski <kuba@kernel.org>2026-05-10 10:16:58 -0700
commita450063ef86b9967234ca1f896c0d77400c74f11 (patch)
treee43290e5f4b474e246fb7cfc096176950ba91fa7 /include/linux/clk/ssh:/git@git.zx2c4.com
parentMerge tag 'batadv-net-pullrequest-20260508' of https://git.open-mesh.org/batadv (diff)
net: xgene: fix mdio_np leak in xgene_mdiobus_register()
The for_each_child_of_node() loop captures mdio_np via break, holding the refcount. of_mdiobus_register() does not consume the reference, so it leaks on success. Put it after registration. Fixes: e6ad767305eb ("drivers: net: Add APM X-Gene SoC ethernet driver support.") Signed-off-by: Shitalkumar Gandhi <shitalkumar.gandhi@cambiumnetworks.com> Link: https://patch.msgid.link/20260507142024.811543-1-shitalkumar.gandhi@cambiumnetworks.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions