myri10ge: check for DMA mapping errors
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 12 Aug 2014 08:35:19 +0000 (10:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2014 06:31:56 +0000 (08:31 +0200)
commit5d71177430d317a321c39f6183853ee46616a9dc
tree9747e42e504818228920eda1f7170fd7b93df5a1
parentf41c15f2c9a00489735036846ec7e474e52b14a6
myri10ge: check for DMA mapping errors

[ Upstream commit 10545937e866ccdbb7ab583031dbdcc6b14e4eb4 ]

On IOMMU systems DMA mapping can fail, we need to check for
that possibility.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c