From: Neil Horman Date: Wed, 31 Jul 2013 13:03:56 +0000 (-0400) Subject: 8139cp: Add dma_mapping_error checking X-Git-Tag: v3.11-rc4~5^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf3c4c03060b688cbc389ebc5065ebcce5653e96;p=pandora-kernel.git 8139cp: Add dma_mapping_error checking Self explanitory dma_mapping_error addition to the 8139 driver, based on this: https://bugzilla.redhat.com/show_bug.cgi?id=947250 It showed several backtraces arising for dma_map_* usage without checking the return code on the mapping. Add the check and abort the rx/tx operation if its failed. Untested as I have no hardware and the reporter has wandered off, but seems pretty straightforward. Signed-off-by: Neil Horman CC: "David S. Miller" CC: Francois Romieu Signed-off-by: David S. Miller --- Reading git-diff-tree failed