aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2017-08-08 21:42:47 +0800
committerHerbert Xu <[email protected]>2017-08-17 16:53:33 +0800
commitef4064bb3f6a1037cbda8d025f564aab5bd2de35 (patch)
tree5a78aee0fd343ea43a1a409c672806be8bcdb8d3 /lib/mpi
parentdea632cadd129d1901efde6b1167a6250b2157fb (diff)
crypto: ccp - use dma_mapping_error to check map error
The return value of dma_map_single() should be checked by dma_mapping_error(). However, in function ccp_init_dm_workarea(), its return value is checked against NULL, which could result in failures. Signed-off-by: Pan Bian <[email protected]> Acked-by: Gary R Hook <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions