Commit c6ee78fc authored by Thomas Fourier's avatar Thomas Fourier Committed by Vinod Koul
Browse files

dmaengine: nbpfaxi: Add missing check after DMA map



The DMA map functions can fail and should be tested for errors.
If the mapping fails, unmap and return an error.

Fixes: b45b262c ("dmaengine: add a driver for AMBA AXI NBPF DMAC IP cores")
Signed-off-by: default avatarThomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250707075752.28674-2-fourier.thomas@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 60095aca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment