Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information