commit | 45af55006c2c8f49bddc6296224e70d752a1372c | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Dec 19 15:13:49 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 19 12:58:46 2015 -0500 |
tree | 7bf80be87d7ee0b4a152b0dcab87fb5b3b88e777 | |
parent | 179ccc0a73641ffd24e44ff10a7bd494efe98d8d [diff] |
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>