Skip to content
Commit 12494334 authored by 蒋家盛's avatar 蒋家盛 Committed by Greg Kroah-Hartman
Browse files

atm: eni: Add check for dma_map_single

[ Upstream commit 0f74b29a ]

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

Fixes: 1da177e4

 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 80e4153c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment