diff options
author | 2017-01-28 01:07:30 +0300 | |
---|---|---|
committer | 2017-01-29 19:04:11 -0500 | |
commit | d1156b489fa734d1af763d6a07b1637c01bb0aed (patch) | |
tree | 5b9787eb26cd81f9ca16cf3d53f70cf8bf03c5db /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause (diff) | |
download | linux-rng-d1156b489fa734d1af763d6a07b1637c01bb0aed.tar.xz linux-rng-d1156b489fa734d1af763d6a07b1637c01bb0aed.zip |
net: adaptec: starfire: add checks for dma mapping errors
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions