On Fri, Jun 19, 2020 at 04:22:53PM +0300, Horia Geantă wrote: > ahash_finup_no_ctx() returns -ENOMEM in most error cases, > and this is fine for almost all of them. > > However, the return code provided by dpaa2_caam_enqueue() > (e.g. -EIO or -EBUSY) shouldn't be overridden by -ENOMEM. > > Signed-off-by: Horia Geantă <horia.geanta@xxxxxxx> > --- > drivers/crypto/caam/caamalg_qi2.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt