Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: stmmac: fix an OF node reference leak in error paths in stmmac_probe_config_dt()
@ 2024-12-18  3:22 Joe Hattori
  2024-12-18  3:22 ` [PATCH v2 1/2] net: stmmac: call of_node_put() and stmmac_remove_config_dt() " Joe Hattori
  2024-12-18  3:22 ` [PATCH v2 2/2] net: stmmac: remove the unnecessary argument of stmmac_remove_config_dt() Joe Hattori
  0 siblings, 2 replies; 6+ messages in thread
From: Joe Hattori @ 2024-12-18  3:22 UTC (permalink / raw)
  To: alexandre.torgue, joabreu, andrew+netdev, davem, edumazet, kuba,
	pabeni, mcoquelin.stm32
  Cc: krzk, dan.carpenter, netdev, Joe Hattori

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-19  2:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18  3:22 [PATCH v2 0/2] net: stmmac: fix an OF node reference leak in error paths in stmmac_probe_config_dt() Joe Hattori
2024-12-18  3:22 ` [PATCH v2 1/2] net: stmmac: call of_node_put() and stmmac_remove_config_dt() " Joe Hattori
2024-12-18  8:43   ` Dan Carpenter
2024-12-19  2:45     ` Joe Hattori
2024-12-18  3:22 ` [PATCH v2 2/2] net: stmmac: remove the unnecessary argument of stmmac_remove_config_dt() Joe Hattori
2024-12-18  8:47   ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox