aboutsummaryrefslogtreecommitdiff
path: root/lib/btree.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2013-07-31 09:03:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-11 18:35:26 -0700
commit1eec0e843a893cf2893659ac99f8bd8ab6265ba4 (patch)
treef7ec2f6841e7271aedb9b5bd7d9c4be5f2894ddf /lib/btree.c
parent379731ab2b425538cf87437049ec1c1301605e46 (diff)
8139cp: Add dma_mapping_error checking
[ Upstream commit cf3c4c03060b688cbc389ebc5065ebcce5653e96 ] 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 <nhorman@tuxdriver.com> CC: "David S. Miller" <davem@davemloft.net> CC: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions