myri10ge: check for DMA mapping errors
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 12 Aug 2014 08:35:19 +0000 (10:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:04:46 +0000 (20:04 -0700)
commit10545937e866ccdbb7ab583031dbdcc6b14e4eb4
tree7b9254702b49e25ada44dc95c72688c63ce2a5ce
parent3791b3f6fb74d265c93d493d9bbf29c1e769ceae
myri10ge: check for DMA mapping errors

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>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c