Skip to content

Commit fa13f1d

Browse files
committed
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>
1 parent 2566de3 commit fa13f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/aspeed/aspeed-hace-hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ static noinline int aspeed_ahash_fallback(struct ahash_request *req)
449449
if (rctx->flags & SHA_FLAGS_FINUP)
450450
ret = ret ?: crypto_ahash_finup(fbreq);
451451
else
452-
ret = ret ?: crypto_ahash_update(fbreq);
452+
ret = ret ?: crypto_ahash_update(fbreq) ?:
453453
crypto_ahash_export_core(fbreq, state) ?:
454454
aspeed_sham_import(req, state);
455455
HASH_REQUEST_ZERO(fbreq);

0 commit comments

Comments
 (0)