diff options
author | 2013-07-31 09:03:56 -0400 | |
---|---|---|
committer | 2013-07-31 17:01:43 -0700 | |
commit | cf3c4c03060b688cbc389ebc5065ebcce5653e96 (patch) | |
tree | 7ba15fd1f4406a9548a52d79a24a28fa13de767e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ndisc: Add missing inline to ndisc_addr_option_pad (diff) | |
download | linux-dev-cf3c4c03060b688cbc389ebc5065ebcce5653e96.tar.xz linux-dev-cf3c4c03060b688cbc389ebc5065ebcce5653e96.zip |
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 <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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions