]> Gentwo Git Trees - linux/.git/commit
net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe
authorErick Karanja <karanja99erick@gmail.com>
Thu, 2 Oct 2025 17:46:17 +0000 (20:46 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 6 Oct 2025 18:22:40 +0000 (11:22 -0700)
commit521405cb54cd2812bbb6dedd5afc14bca1e7e98a
treef57d53b13e2b7c0a583e7d9bdd467b535db85acd
parent2db687f3469dbc5c59bc53d55acafd75d530b497
net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe

Add missing of_node_put call to release device node tbi obtained
via for_each_child_of_node.

Fixes: afae5ad78b342 ("net/fsl_pq_mdio: streamline probing of MDIO nodes")
Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://patch.msgid.link/20251002174617.960521-1-karanja99erick@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fsl_pq_mdio.c