aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-05-18 20:33:44 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-06-10 16:40:16 +0800
commitd2765e1b9ac4b2d5a5d5bf17f468c9b3566c3770 (patch)
treef207958ee66d234d281cbf07ff89ef41e55ef495 /lib/mpi/mpi-add.c
parentcrypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak (diff)
downloadlinux-dev-d2765e1b9ac4b2d5a5d5bf17f468c9b3566c3770.tar.xz
linux-dev-d2765e1b9ac4b2d5a5d5bf17f468c9b3566c3770.zip
crypto: sun8i-ss - fix error codes in allocate_flows()
These failure paths should return -ENOMEM. Currently they return success. Fixes: 359e893e8af4 ("crypto: sun8i-ss - rework handling of IV") Fixes: 8eec4563f152 ("crypto: sun8i-ss - do not allocate memory when handling hash requests") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions