mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
dmaengine: nbpfaxi: Add missing check after DMA map
[ Upstream commitc6ee78fc8f] The DMA map functions can fail and should be tested for errors. If the mapping fails, unmap and return an error. Fixes:b45b262cef("dmaengine: add a driver for AMBA AXI NBPF DMAC IP cores") Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Link: https://lore.kernel.org/r/20250707075752.28674-2-fourier.thomas@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c94f4c6e66
commit
2bba4bdf05
1 changed files with 13 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue