commit | 6aa200058e4df8a60681ddd67d7932fdf2ce58ab | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Aug 11 01:55:20 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 11 14:42:28 2017 -0700 |
tree | 6cf903dc180d4e3e7361b956149947972a4c47c5 | |
parent | 839da4d98960bcc68e6b7b945b33ad3916ec1e92 [diff] |
wan: dscc4: add checks for dma mapping errors The driver does 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>