diff options
| author | Horia Geantă <horia.geanta@nxp.com> | 2020-06-19 16:22:53 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-06-26 14:46:43 +1000 |
| commit | d095146cae11b89a1e4e531a9ff87731d0f5eadd (patch) | |
| tree | ecb59c2989bbb192fb317aa24cc9291e8096fbce /net/lapb/lapb_in.c | |
| parent | 84d840e1dd90e5fc07dedbd16df0dae7b3b3ef1a (diff) | |
crypto: caam/qi2 - fix return code in ahash_finup_no_ctx()
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@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
