diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-07-01 14:56:37 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-07-16 15:49:32 +0800 |
commit | df6313d707e575a679ada3313358289af24454c0 (patch) | |
tree | 43f25e7edd650024b3fec1daf8cec5e798e909a5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5261cdf457ce3635bf18d393a3c1991dcfaf9d02 (diff) |
crypto: mxs-dcp - Check for DMA mapping errors
After calling dma_map_single(), we must also call dma_mapping_error().
This fixes the following warning when compiling with CONFIG_DMA_API_DEBUG:
[ 311.241478] WARNING: CPU: 0 PID: 428 at kernel/dma/debug.c:1027 check_unmap+0x79c/0x96c
[ 311.249547] DMA-API: mxs-dcp 2280000.crypto: device driver failed to check map error[device address=0x00000000860cb080] [size=32 bytes] [mapped as single]
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions