mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
crypto: sun8i-ss - fix error codes in allocate_flows()
These failure paths should return -ENOMEM. Currently they return success. Fixes:359e893e8a("crypto: sun8i-ss - rework handling of IV") Fixes:8eec4563f1("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>
This commit is contained in:
parent
13dc15a3f5
commit
d2765e1b9a
1 changed files with 12 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue