[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241218032230.117453-1-joe@pf.is.s.u-tokyo.ac.jp>
Date: Wed, 18 Dec 2024 12:22:28 +0900
From: Joe Hattori <joe@...is.s.u-tokyo.ac.jp>
To: alexandre.torgue@...s.st.com,
joabreu@...opsys.com,
andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
mcoquelin.stm32@...il.com
Cc: krzk@...nel.org,
dan.carpenter@...aro.org,
netdev@...r.kernel.org,
Joe Hattori <joe@...is.s.u-tokyo.ac.jp>
Subject: [PATCH v2 0/2] net: stmmac: fix an OF node reference leak in error paths in stmmac_probe_config_dt()
This patch series fixes an OF node reference leak in
stmmac_probe_config_dt() and removes the unnecessary argument of
stmmac_remove_config_dt().
---
Changes in v2:
- Call of_node_put() instead of stmmac_remove_config_dt() when
stmmac_mdio_setup() fails.
- Split the patch into two.
---
Joe Hattori (2):
net: stmmac: call of_node_put() and stmmac_remove_config_dt() in error
paths in stmmac_probe_config_dt()
net: stmmac: remove the unnecessary argument of
stmmac_remove_config_dt()
.../ethernet/stmicro/stmmac/stmmac_platform.c | 37 +++++++------------
1 file changed, 13 insertions(+), 24 deletions(-)
--
2.34.1
Powered by blists - more mailing lists