]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec306e41f63b7315d951fb0e255702d482c59717
treee4a8df6c0f0097564009d27f8d684b79f4dee589
parent28f9b7eb3b2eb5934dbcbf059d3ff19a79571fff
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