aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel_cipher.c
diff options
context:
space:
mode:
authorGary R Hook <[email protected]>2019-07-31 00:03:25 +0000
committerHerbert Xu <[email protected]>2019-08-09 05:11:39 +0000
commit114e2ccd9eff5859760cfa3bcbb707c3eda63fc3 (patch)
treeba71b77688c003238a1b3838d1f3747fe91dfe2b /drivers/crypto/inside-secure/safexcel_cipher.c
parentcrypto: drivers - Remove dev_err() usage after platform_get_irq() (diff)
downloadkernel-114e2ccd9eff5859760cfa3bcbb707c3eda63fc3.tar.gz
kernel-114e2ccd9eff5859760cfa3bcbb707c3eda63fc3.zip
crypto: ccp - Clean up and exit correctly on allocation failure
Return and fail driver initialization if a DMA pool or coherent memory can't be allocated. Be sure to clean up allocated memory. Fixes: 4b394a232df7 ("crypto: ccp - Let a v5 CCP provide the same function as v3") Signed-off-by: Gary R Hook <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel_cipher.c')
0 files changed, 0 insertions, 0 deletions