diff options
| author | Christophe JAILLET <[email protected]> | 2024-01-07 10:02:04 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-01-22 11:29:33 +0000 |
| commit | 3aa58cb51318e329d203857f7a191678e60bb714 (patch) | |
| tree | 62ff1c09eec349caed59ed15a0594bc5dcd88951 /scripts/generate_rust_target.rs | |
| parent | dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA (diff) | |
| download | kernel-3aa58cb51318e329d203857f7a191678e60bb714.tar.gz kernel-3aa58cb51318e329d203857f7a191678e60bb714.zip | |
dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
This dma_alloc_coherent() is undone neither in the remove function, nor in
the error handling path of fsl_qdma_probe().
Switch to the managed version to fix both issues.
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/7f66aa14f59d32b13672dde28602b47deb294e1f.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
