diff options
author | Bjorn Andersson <[email protected]> | 2019-10-11 11:28:17 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-10-14 11:42:48 +0300 |
commit | d43810b2c1808ac865aa1a2a2c291644bf95345c (patch) | |
tree | 1cd8993a0627cde0c074bbd9fd2757d9edce161d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f433abfc2f76b7ebf9a7211351bd2ee021daed17 (diff) |
ath10k: Correct error handling of dma_map_single()
The return value of dma_map_single() should be checked for errors using
dma_mapping_error() and the skb has been dequeued so it needs to be
freed.
This was found when enabling CONFIG_DMA_API_DEBUG and it warned about the
missing dma_mapping_error() call.
Fixes: 1807da49733e ("ath10k: wmi: add management tx by reference support over wmi")
Reported-by: Niklas Cassel <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions