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:36:40 +0000 (08:36 +0200)
commitb380406674d28d00cbb566f45bfb37030dcac332
treeac3f89cc01fb3227f5f998443fd2e1c47607e0db
parentff81e63f649cfb9aa794d771f93ee2ca9460f238
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