linux/arch/powerpc/platforms/512x
Thomas Fourier 760b9b4f6d (powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer
If the device configuration fails (if `dma_dev->device_config()`),
`sg_dma_address(&sg)` is not initialized and the jump to `err_dma_prep`
leads to calling `dma_unmap_single()` on `sg_dma_address(&sg)`.

Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250610142918.169540-2-fourier.thomas@gmail.com
2025-07-09 09:15:10 +05:30
..
clock-commonclk.c
Kconfig
Makefile
mpc512x.h
mpc512x_generic.c
mpc512x_lpbfifo.c (powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer 2025-07-09 09:15:10 +05:30
mpc512x_shared.c
mpc5121_ads.c
mpc5121_ads.h
mpc5121_ads_cpld.c powerpc: Switch to irq_domain_create_*() 2025-05-16 21:06:11 +02:00
pdm360ng.c