crypto: aspeed - Fix hash fallback path typo

Fix typo in the fallback code path.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506231830.us4hiwlZ-lkp@intel.com/
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2025-06-23 19:17:27 +08:00
parent 2566de3e06
commit fa13f1d7c7

View file

@ -449,7 +449,7 @@ static noinline int aspeed_ahash_fallback(struct ahash_request *req)
if (rctx->flags & SHA_FLAGS_FINUP)
ret = ret ?: crypto_ahash_finup(fbreq);
else
ret = ret ?: crypto_ahash_update(fbreq);
ret = ret ?: crypto_ahash_update(fbreq) ?:
crypto_ahash_export_core(fbreq, state) ?:
aspeed_sham_import(req, state);
HASH_REQUEST_ZERO(fbreq);