diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2015-12-19 12:13:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-19 17:58:46 (GMT) |
commit | 45af55006c2c8f49bddc6296224e70d752a1372c (patch) | |
tree | 7bf80be87d7ee0b4a152b0dcab87fb5b3b88e777 /scripts | |
parent | 179ccc0a73641ffd24e44ff10a7bd494efe98d8d (diff) | |
download | linux-45af55006c2c8f49bddc6296224e70d752a1372c.tar.xz |
natsemi: add checks for dma mapping errors
refill_rx() and start_tx() do not 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 'scripts')
0 files changed, 0 insertions, 0 deletions