diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-01-28 01:07:30 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-06-25 22:02:21 -0400 |
commit | 8cc5799710863ddf0429428f3cb4480b526c5597 (patch) | |
tree | 10bf99cb73646ba279d328227a6541a8155f9f0e /kernel/kmod.c | |
parent | 6d43352435ba022174d62c4a1b6252ec56ab0fbb (diff) |
net: adaptec: starfire: add checks for dma mapping errors
[ Upstream commit d1156b489fa734d1af763d6a07b1637c01bb0aed ]
init_ring(), refill_rx_ring() and start_tx() don't check
if mapping dma memory succeed.
The patch adds the checks and failure handling.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions