]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ag71xx: Add missing check after DMA map
authorThomas Fourier <fourier.thomas@gmail.com>
Wed, 16 Jul 2025 09:57:25 +0000 (11:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:20 +0000 (16:28 +0200)
commitd1c8d2426a6306b58e3798cee6611fd2c45391e7
tree5ce4add119285ad84cd0ab88f78f02738ea7263f
parentb0862e88b887e00d6c0e0197d9ab068e1bcce110
net: ag71xx: Add missing check after DMA map

[ Upstream commit 96a1e15e60216b52da0e6da5336b6d7f5b0188b0 ]

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/20250716095733.37452-3-fourier.thomas@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/atheros/ag71xx.c