Skip to content

net: stmmac: Fixes and cleanups in 'alloc_dma_[rt]x_desc_resources()'

Christophe JAILLET kernel-janitors lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: stmmac: Fix error handling path in 'alloc_dma_rx_desc_resources()'drivers/net/ethernet/stmicro/stmmac/stmmac_main.c+1 -11 reply
2/3net: stmmac: Fix error handling path in 'alloc_dma_tx_desc_resources()'drivers/net/ethernet/stmicro/stmmac/stmmac_main.c+1 -11 reply
3/3net: stmmac: Make 'alloc_dma_[rt]x_desc_resources()' look even closerdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+6 -61 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGiuseppe Cavallaro
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] net: stmmac: Fixes and cleanups in 'alloc_dma_[rt]x_desc_resources()'

These patchs are all related to 'alloc_dma_[rt]x_desc_resources()' functions.

The 2 first fix an error path where some resources are leaking. I've separated them into 2 patches because the issues have been introduced by 2 deferent commits.

The 3rd patch is just a clean-up.

Christophe JAILLET (3):
net: stmmac: Fix error handling path in

    'alloc_dma_rx_desc_resources()'
  net: stmmac: Fix error handling path in
    'alloc_dma_tx_desc_resources()'

net: stmmac: Make 'alloc_dma_[rt]x_desc_resources()' look even closer

 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.11.0