diff options
| author | Thomas Fourier <[email protected]> | 2025-07-07 07:57:16 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-07-23 12:25:32 +0000 |
| commit | c6ee78fc8f3e653bec427cfd06fec7877ee782bd (patch) | |
| tree | f7e8117a2b639d87d244b3008495536d88e337de /drivers/pci/controller/pci-host-common.c | |
| parent | dmaengine: mv_xor: Fix missing check after DMA map and missing unmap (diff) | |
| download | kernel-c6ee78fc8f3e653bec427cfd06fec7877ee782bd.tar.gz kernel-c6ee78fc8f3e653bec427cfd06fec7877ee782bd.zip | |
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: b45b262cefd5 ("dmaengine: add a driver for AMBA AXI NBPF DMAC IP cores")
Signed-off-by: Thomas Fourier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
