]> 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:32:13 +0000 (18:32 +0200)
commitd104a842dbdc5ecc1ebdc9b85fbed0dc4bb484b6
tree161b02bdf42f623bbde2c2f3ae30acf4a0c77bae
parentf9eaf6d036075dc820520e1194692c0619b7297b
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