Jiasheng Jiang c66fcd42e8 atm: eni: Add check for dma_map_single
[ Upstream commit 0f74b29a4f53627376cf5a5fb7b0b3fa748a0b2b ]

As the potential failure of the dma_map_single(),
it should be better to check it and return error
if fails.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-23 09:00:34 +01:00
..
2022-03-23 09:00:34 +01:00
2015-01-18 00:28:41 -05:00
2017-12-14 09:28:24 +01:00
2013-02-08 14:22:05 -05:00
2015-12-29 15:32:24 -05:00