[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221120055259.224555-1-nalanzeyu@gmail.com>
Date: Sun, 20 Nov 2022 13:52:57 +0800
From: Yan Cangang <nalanzeyu@...il.com>
To: leon@...nel.org, kuba@...nel.org, Mark-MC.Lee@...iatek.com,
john@...ozen.org, nbd@....name, sean.wang@...iatek.com
Cc: netdev@...r.kernel.org, Yan Cangang <nalanzeyu@...il.com>
Subject: [PATCH net v3 0/2] net: ethernet: mtk_eth_soc: fix memory leak in error path
v1: https://lore.kernel.org/netdev/20221112233239.824389-1-nalanzeyu@gmail.com/T/
v2:
- clean up commit message
- new mtk_ppe_deinit() function, call it before calling mtk_mdio_cleanup()
v3:
- split into two patches
Yan Cangang (2):
net: ethernet: mtk_eth_soc: fix resource leak in error path
net: ethernet: mtk_eth_soc: fix memory leak in error path
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 9 +++++----
drivers/net/ethernet/mediatek/mtk_ppe.c | 19 +++++++++++++++++--
drivers/net/ethernet/mediatek/mtk_ppe.h | 1 +
3 files changed, 23 insertions(+), 6 deletions(-)
--
2.30.2
Powered by blists - more mailing lists