Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: sun8i-ss - fix error codes in allocate_flows()
[ Upstream commit d2765e1 ] These failure paths should return -ENOMEM. Currently they return success. Fixes: 359e893 ("crypto: sun8i-ss - rework handling of IV") Fixes: 8eec456 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information