[PATCH net-next 0/2] Refine stmmac code

From: Tiezhu Yang
Date: Tue Jul 22 2025 - 02:27:40 EST


Here are two small patches to refine stmmac code when debugging and
testing the problem "Failed to reset the dma".

Tiezhu Yang (2):
net: stmmac: Return early if invalid in loongson_dwmac_fix_reset()
net: stmmac: Check stmmac_hw_setup() in stmmac_resume()

drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 3 +++
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 9 ++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)

--
2.42.0