* [stable:linux-5.15.y 6045/9999] lib/crypto/blake2s-selftest.c:632:1: warning: the frame size of 1096 bytes is larger than 1024 bytes
@ 2023-01-18 13:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-18 13:44 UTC (permalink / raw)
To: Jason A. Donenfeld
Cc: oe-kbuild-all, Greg Kroah-Hartman, Herbert Xu, Sasha Levin
Hi Jason,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y
head: 3bcc86eb3ed952c22ceecce8932dde72ea01f8cc
commit: 3dd33a09f5dc12ccb0902923c4c784eb0f8c7554 [6045/9999] crypto: blake2s - remove shash module
config: powerpc-randconfig-r011-20230118 (https://download.01.org/0day-ci/archive/20230118/202301182103.XY4Twwoa-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=3dd33a09f5dc12ccb0902923c4c784eb0f8c7554
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.15.y
git checkout 3dd33a09f5dc12ccb0902923c4c784eb0f8c7554
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash lib/crypto/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
lib/crypto/blake2s-selftest.c: In function 'blake2s_selftest':
>> lib/crypto/blake2s-selftest.c:632:1: warning: the frame size of 1096 bytes is larger than 1024 bytes [-Wframe-larger-than=]
632 | }
| ^
vim +632 lib/crypto/blake2s-selftest.c
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 614
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 615 memcpy(&state1, &state, sizeof(state1));
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 616 blake2s_compress(&state1, blocks, 1, BLAKE2S_BLOCK_SIZE);
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 617 for (l = 1; l < TEST_ALIGNMENT; ++l) {
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 618 memcpy(unaligned_block + l, blocks,
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 619 BLAKE2S_BLOCK_SIZE);
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 620 memcpy(&state2, &state, sizeof(state2));
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 621 blake2s_compress(&state2, unaligned_block + l, 1,
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 622 BLAKE2S_BLOCK_SIZE);
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 623 if (memcmp(&state1, &state2, sizeof(state1))) {
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 624 pr_err("blake2s random compress align %d self-test %d: FAIL\n",
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 625 l, i + 1);
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 626 success = false;
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 627 }
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 628 }
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 629 }
3dd33a09f5dc12 Jason A. Donenfeld 2022-05-28 630
66d7fb94e4ffe5 Jason A. Donenfeld 2019-11-08 631 return success;
66d7fb94e4ffe5 Jason A. Donenfeld 2019-11-08 @632 }
:::::: The code at line 632 was first introduced by commit
:::::: 66d7fb94e4ffe5acc589e0b2b4710aecc1f07a28 crypto: blake2s - generic C library implementation and selftest
:::::: TO: Jason A. Donenfeld <Jason@zx2c4.com>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-18 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18 13:44 [stable:linux-5.15.y 6045/9999] lib/crypto/blake2s-selftest.c:632:1: warning: the frame size of 1096 bytes is larger than 1024 bytes kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.