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 /drivers/crypto/ccree | |
parent | crypto: img-hash - remove redundant initialization of variable err (diff) | |
download | linux-dev-d095146cae11b89a1e4e531a9ff87731d0f5eadd.tar.xz linux-dev-d095146cae11b89a1e4e531a9ff87731d0f5eadd.zip |
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 'drivers/crypto/ccree')
0 files changed, 0 insertions, 0 deletions