mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
dmaengine: mv_xor: Fix missing check after DMA map and missing unmap
[ Upstream commit60095aca6b] The DMA map functions can fail and should be tested for errors. In case of error, unmap the already mapped regions. Fixes:22843545b2("dma: mv_xor: Add support for DMA_INTERRUPT") Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Link: https://lore.kernel.org/r/20250701123753.46935-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
39c4454ed6
commit
2c0b57e55d
1 changed files with 19 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue