sst-linux/drivers/dma
Joe Hattori ef0f73b174 dmaengine: ti: edma: fix OF node reference leaks in edma_driver
[ Upstream commit e883c64778e5a9905fce955681f8ee38c7197e0f ]

The .probe() of edma_driver calls of_parse_phandle_with_fixed_args() but
does not release the obtained OF nodes. Thus add a of_node_put() call.

This bug was found by an experimental verification tool that I am
developing.

Fixes: 1be5336bc7 ("dmaengine: edma: New device tree binding")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241219020507.1983124-3-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 13:49:21 +01:00
..
bestcomm
dw dmaengine: dw: Select only supported masters for ACPI devices 2025-01-02 10:30:50 +01:00
dw-axi-dmac Avoid hw_desc array overrun in dw-axi-dmac 2024-06-27 13:46:17 +02:00
dw-edma
fsl-dpaa2-qdma dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools 2024-02-16 19:06:24 +01:00
hsu
idxd dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list 2024-06-27 13:46:20 +02:00
ioat dmaengine: ioatdma: Fix missing kmem_cache_destroy() 2024-06-27 13:46:20 +02:00
ipu
lgm
mediatek dmaengine: mediatek: Fix deadlock caused by synchronize_irq() 2023-10-19 23:08:58 +02:00
ppc4xx
ptdma dmaengine: ptdma: use consistent DMA masks 2024-03-06 14:45:10 +00:00
qcom
sf-pdma
sh dmaengine: shdma: increase size of 'dev_id' 2024-03-01 13:26:25 +01:00
ti dmaengine: ti: edma: fix OF node reference leaks in edma_driver 2025-02-21 13:49:21 +01:00
xilinx dma: xilinx_dpdma: Fix locking 2024-05-02 16:29:31 +02:00
acpi-dma.c
altera-msgdma.c dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor 2024-09-08 07:53:11 +02:00
amba-pl08x.c
apple-admac.c dmaengine: apple-admac: Avoid accessing registers in probe 2025-01-02 10:30:50 +01:00
at_hdmac_regs.h
at_hdmac.c
at_xdmac.c dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset 2025-01-02 10:30:50 +01:00
bcm2835-dma.c
bcm-sba-raid.c
dma-axi-dmac.c dmaengine: axi-dmac: fix possible race in remove() 2024-06-21 14:35:56 +02:00
dma-jz4780.c
dmaengine.c dmaengine: fix NULL pointer in channel unregistration function 2024-01-31 16:17:00 -08:00
dmaengine.h
dmatest.c
ep93xx_dma.c
fsl_raid.c
fsl_raid.h
fsl-edma-common.c
fsl-edma-common.h
fsl-edma.c
fsl-qdma.c dmaengine: fsl-qdma: init irq after reg initialization 2024-03-06 14:45:10 +00:00
fsldma.c
fsldma.h
hisi_dma.c
idma64.c dmaengine: idma64: Add check for dma_set_max_seg_size 2024-06-12 11:03:34 +02:00
idma64.h
img-mdc-dma.c
imx-dma.c
imx-sdma.c
iop-adma.c
iop-adma.h
k3dma.c
Kconfig dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA 2024-03-26 18:20:45 -04:00
lpc18xx-dmamux.c
Makefile
mcf-edma.c
milbeaut-hdmac.c
milbeaut-xdmac.c
mmp_pdma.c
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c
mv_xor_v2.c
mv_xor.c dmaengine: mv_xor: fix child node refcount handling in early exit 2025-01-02 10:30:50 +01:00
mv_xor.h
mxs-dma.c
nbpfaxi.c
of-dma.c
owl-dma.c dmaengine: owl: fix register access functions 2024-05-02 16:29:30 +02:00
pch_dma.c
pl330.c dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state" 2024-05-17 11:55:50 +02:00
plx_dma.c
pxa_dma.c dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc() 2023-11-20 11:52:10 +01:00
s3c24xx-dma.c
sa11x0-dma.c
sprd-dma.c
st_fdma.c
st_fdma.h
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe 2023-11-08 14:10:58 +01:00
stm32-dma.c dmaengine: stm32-dma: avoid bitfield overflow assertion 2023-12-20 17:00:25 +01:00
stm32-dmamux.c
stm32-mdma.c dmaengine: stm32-mdma: correct desc prep when channel running 2023-11-28 17:07:13 +00:00
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c
tegra186-gpc-dma.c dmaengine: tegra: Return correct DMA status when paused 2025-01-02 10:30:50 +01:00
tegra210-adma.c
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
uniphier-mdmac.c
uniphier-xdmac.c
virt-dma.c
virt-dma.h
xgene-dma.c