Skip to content

dmaengine: fix device leaks

Johan Hovold dmaengine lkml stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15dmaengine: at_hdmac: fix device leak on of_dma_xlate()drivers/dma/at_hdmac.c+7 -22 replies
2/15dmaengine: bcm-sba-raid: fix device leak on probedrivers/dma/bcm-sba-raid.c+5 -10 replies
3/15dmaengine: cv1800b-dmamux: fix device leak on route allocationdrivers/dma/cv1800b-dmamux.c+10 -70 replies
4/15dmaengine: dw: dmamux: fix OF node leak on route allocation failuredrivers/dma/dw/rzn1-dmamux.c+3 -13 replies
5/15dmaengine: idxd: fix device leaks on compat bind and unbinddrivers/dma/idxd/compat.c+19 -42 replies
6/15dmaengine: lpc18xx-dmamux: fix device leak on route allocationdrivers/dma/lpc18xx-dmamux.c+14 -52 replies
7/15dmaengine: lpc32xx-dmamux: fix device leak on route allocationdrivers/dma/lpc32xx-dmamux.c+14 -51 reply
8/15dmaengine: sh: rz-dmac: fix device leak on probe failuredrivers/dma/sh/rz-dmac.c+11 -21 reply
9/15dmaengine: stm32: dmamux: fix device leak on route allocationdrivers/dma/stm32/stm32-dmamux.c+12 -62 replies
10/15dmaengine: stm32: dmamux: fix OF node leak on route allocation failuredrivers/dma/stm32/stm32-dmamux.c+3 -11 reply
11/15dmaengine: stm32: dmamux: clean up route allocation error labelsdrivers/dma/stm32/stm32-dmamux.c+4 -51 reply
12/15dmaengine: ti: dma-crossbar: fix device leak on dra7x route allocationdrivers/dma/ti/dma-crossbar.c+2 -00 replies
13/15dmaengine: ti: dma-crossbar: fix device leak on am335x route allocationdrivers/dma/ti/dma-crossbar.c+10 -60 replies
14/15dmaengine: ti: dma-crossbar: clean up dra7x route allocation error pathsdrivers/dma/ti/dma-crossbar.c+8 -90 replies
15/15dmaengine: ti: k3-udma: fix device leak on udma lookupdrivers/dma/ti/k3-udma-private.c+1 -10 replies

Reviews trailers per patch

8 of 15 patches have a Reviewed-by or Acked-by.

PatchDave JiangVladimir ZapolskiyAmelie DelaunayMiquel RaynalFabrizio Castro
1/15
2/15
3/15
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/15] dmaengine: fix device leaks

The dmaengine drivers pretty consistently failed to release references taken when looking up devices using of_find_device_by_node() and similar helpers.

Included are also two OF node leak fixes and a couple of related cleanups.

Johan

Johan Hovold (15):
dmaengine: at_hdmac: fix device leak on of_dma_xlate()
dmaengine: bcm-sba-raid: fix device leak on probe
dmaengine: cv1800b-dmamux: fix device leak on route allocation
dmaengine: dw: dmamux: fix OF node leak on route allocation failure
dmaengine: idxd: fix device leaks on compat bind and unbind
dmaengine: lpc18xx-dmamux: fix device leak on route allocation
dmaengine: lpc32xx-dmamux: fix device leak on route allocation
dmaengine: sh: rz-dmac: fix device leak on probe failure
dmaengine: stm32: dmamux: fix device leak on route allocation
dmaengine: stm32: dmamux: fix OF node leak on route allocation failure
dmaengine: stm32: dmamux: clean up route allocation error labels
dmaengine: ti: dma-crossbar: fix device leak on dra7x route allocation
dmaengine: ti: dma-crossbar: fix device leak on am335x route
allocation
dmaengine: ti: dma-crossbar: clean up dra7x route allocation error
paths
dmaengine: ti: k3-udma: fix device leak on udma lookup

 drivers/dma/at_hdmac.c           |  9 ++++++--
 drivers/dma/bcm-sba-raid.c       |  6 +++++-
 drivers/dma/cv1800b-dmamux.c     | 17 +++++++++-------
 drivers/dma/dw/rzn1-dmamux.c     |  4 +++-
 drivers/dma/idxd/compat.c        | 23 +++++++++++++++++----
 drivers/dma/lpc18xx-dmamux.c     | 19 ++++++++++++-----
 drivers/dma/lpc32xx-dmamux.c     | 19 ++++++++++++-----
 drivers/dma/sh/rz-dmac.c         | 13 ++++++++++--
 drivers/dma/stm32/stm32-dmamux.c | 31 +++++++++++++++++-----------
 drivers/dma/ti/dma-crossbar.c    | 35 ++++++++++++++++++--------------
 drivers/dma/ti/k3-udma-private.c |  2 +-
 11 files changed, 123 insertions(+), 55 deletions(-)
Signature · 1 line
2.51.0