diff options
| author | Christophe JAILLET <[email protected]> | 2024-01-07 10:02:03 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-01-22 11:29:33 +0000 |
| commit | 968bc1d7203d384e72afe34124a1801b7af76514 (patch) | |
| tree | c3d6b05487a95bff163936c64ad6203d308c41a7 /scripts/generate_rust_target.rs | |
| parent | dmaengine: ti: k3-udma: Report short packet errors (diff) | |
| download | kernel-968bc1d7203d384e72afe34124a1801b7af76514.tar.gz kernel-968bc1d7203d384e72afe34124a1801b7af76514.zip | |
dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
This dma_alloc_coherent() is undone in the remove function, but not in the
error handling path of fsl_qdma_probe().
Switch to the managed version to fix the issue in the probe and simplify
the remove function.
Fixes: b092529e0aa0 ("dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/a0ef5d0f5a47381617ef339df776ddc68ce48173.1704621515.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
