fore200e: check for dma mapping failures
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Oct 2018 14:57:20 +0000 (16:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:38:50 +0000 (22:38 -0700)
commit1d9d8be91788416d17862ec5a30fff33281ddef6
treee4a8df6c0f0097564009d27f8d684b79f4dee589
parent0e21b2258a0f8ab5537387b3f1a43b672ce62670
fore200e: check for dma mapping failures

The driver was lacking any handling for failures from the DMA mapping
routines.  With an iommu or swiotlb this can be fatal.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c