Jiasheng Jiang 0f74b29a4f atm: eni: Add check for dma_map_single
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>
2022-03-15 11:01:52 +00:00
..
2022-03-15 11:01:52 +00:00
2020-08-23 17:36:59 -05:00
2015-01-18 00:28:41 -05:00
2021-03-15 12:43:10 -07:00
2021-05-21 13:55:32 -07:00