summaryrefslogtreecommitdiffstats
path: root/crypto/gcm.c
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2019-07-31 00:03:25 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-09 15:11:39 +1000
commit114e2ccd9eff5859760cfa3bcbb707c3eda63fc3 (patch)
treeba71b77688c003238a1b3838d1f3747fe91dfe2b /crypto/gcm.c
parent514838e920d06f5c2ba56e9656107dfcbbb90219 (diff)
downloadlinux-114e2ccd9eff5859760cfa3bcbb707c3eda63fc3.tar.bz2
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 <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions