diff options
| author | 2020-03-24 13:23:40 +0000 | |
|---|---|---|
| committer | 2020-03-24 16:33:04 -0700 | |
| commit | 71791dc8bdea55eeb2a0caefe98a0b7450c6e0af (patch) | |
| tree | bf079aae1a3707d2cd2b95ffc9a5c76f878d3f3a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | net: axienet: Factor out TX descriptor chain cleanup (diff) | |
| download | linux-dev-71791dc8bdea55eeb2a0caefe98a0b7450c6e0af.tar.xz linux-dev-71791dc8bdea55eeb2a0caefe98a0b7450c6e0af.zip | |
net: axienet: Check for DMA mapping errors
Especially with the default 32-bit DMA mask, DMA buffers are a limited
resource, so their allocation can fail.
So as the DMA API documentation requires, add error checking code after
dma_map_single() calls to catch the case where we run out of "low" memory.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
