summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-06-20 09:52:43 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-06-30 15:56:56 +0800
commitd6c14da474bf260d73953fbf7992c98d9112aec7 (patch)
tree487fdf02e5c4019e31800073b8f07c3c412143c2 /lib/hweight.c
parent9c846c5d2d4e63d75b2cb172625087cadadbe065 (diff)
downloadlinux-stable-d6c14da474bf260d73953fbf7992c98d9112aec7.tar.gz
linux-stable-d6c14da474bf260d73953fbf7992c98d9112aec7.tar.bz2
linux-stable-d6c14da474bf260d73953fbf7992c98d9112aec7.zip
crypto: lib/blake2s - reduce stack frame usage in self test
Using 3 blocks here doesn't give us much more than using 2, and it causes a stack frame size warning on certain compiler/config/arch combinations: lib/crypto/blake2s-selftest.c: In function 'blake2s_selftest': >> lib/crypto/blake2s-selftest.c:632:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] 632 | } | ^ So this patch just reduces the block from 3 to 2, which makes the warning go away. Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/linux-crypto/202206200851.gE3MHCgd-lkp@intel.com Fixes: 2d16803c562e ("crypto: blake2s - remove shash module") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions