From: Anton Blanchard Date: Wed, 7 Sep 2011 14:41:04 +0000 (+0000) Subject: ibmveth: Fix issue with DMA mapping failure X-Git-Tag: v3.1-rc7~25^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93da27f5234198433345e40b39ff59797bc6f6e;p=pandora-kernel.git ibmveth: Fix issue with DMA mapping failure descs[].fields.address is 32bit which truncates any dma mapping errors so dma_mapping_error() fails to catch it. Use a dma_addr_t to do the comparison. With this patch I was able to transfer many gigabytes of data with IOMMU fault injection set at 10% probability. Signed-off-by: Anton Blanchard Cc: # v2.6.37+ Signed-off-by: David S. Miller --- Reading git-diff-tree failed