]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
atm: idt77252: Add missing `dma_map_error()`
authorThomas Fourier <fourier.thomas@gmail.com>
Tue, 24 Jun 2025 06:41:47 +0000 (08:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:35:20 +0000 (18:35 +0200)
commit8cafaba2f27581044482ee032cb47e280c828fd8
tree0946626fbcb703078848c889ba57e1c69e97c733
parent0d8a9b6dd32175a0d28301498025b0305bf07d7d
atm: idt77252: Add missing `dma_map_error()`

[ Upstream commit c4890963350dcf4e9a909bae23665921fba4ad27 ]

The DMA map functions can fail and should be tested for errors.

Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250624064148.12815-3-fourier.thomas@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/atm/idt77252.c