summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-07-01 14:56:37 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-22 11:41:19 +0200
commit2f4aea7159a4f0b604a4b971af3731a3906ffb47 (patch)
tree593f26e9d74377c9426d72c1e75f6e61d5c50a72 /include/linux/debugobjects.h
parentb3ef760118b58c913c4438c8c1ec5701d3cfacc7 (diff)
crypto: mxs-dcp - Check for DMA mapping errors
[ Upstream commit df6313d707e575a679ada3313358289af24454c0 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions