Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 -1
+1 -1
drivers/crypto/aspeed/aspeed-hace-hash.c
··· 449 449 if (rctx->flags & SHA_FLAGS_FINUP) 450 450 ret = ret ?: crypto_ahash_finup(fbreq); 451 451 else 452 - ret = ret ?: crypto_ahash_update(fbreq); 452 + ret = ret ?: crypto_ahash_update(fbreq) ?: 453 453 crypto_ahash_export_core(fbreq, state) ?: 454 454 aspeed_sham_import(req, state); 455 455 HASH_REQUEST_ZERO(fbreq);