[linux-stable-rc:linux-4.19.y 3882/4040] crypto/sha3_generic.c:164:1: warning: the frame size of 3480 bytes is larger than 2048 bytes

From: kernel test robot
Date: Mon Aug 30 2021 - 11:52:40 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 5a3ba2f90f8789162a03e07a37224bab4c643d1d
commit: b97ed64cf80b072cb765c3b9389a7f19df2dd595 [3882/4040] init/Kconfig: make COMPILE_TEST depend on !S390
config: s390-randconfig-r012-20210830 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.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-rc.git/commit/?id=b97ed64cf80b072cb765c3b9389a7f19df2dd595
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout b97ed64cf80b072cb765c3b9389a7f19df2dd595
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=s390

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

crypto/sha3_generic.c: In function 'keccakf':
>> crypto/sha3_generic.c:164:1: warning: the frame size of 3480 bytes is larger than 2048 bytes [-Wframe-larger-than=]
164 | }
| ^


vim +164 crypto/sha3_generic.c

4767b9ad7d762876 Ard Biesheuvel 2018-01-27 154
f044a84e040b85cd Dmitry Vyukov 2018-06-08 155 static void keccakf(u64 st[25])
4767b9ad7d762876 Ard Biesheuvel 2018-01-27 156 {
4767b9ad7d762876 Ard Biesheuvel 2018-01-27 157 int round;
53964b9ee63b7075 Jeff Garzik 2016-06-17 158
4767b9ad7d762876 Ard Biesheuvel 2018-01-27 159 for (round = 0; round < KECCAK_ROUNDS; round++) {
4767b9ad7d762876 Ard Biesheuvel 2018-01-27 160 keccakf_round(st);
53964b9ee63b7075 Jeff Garzik 2016-06-17 161 /* Iota */
53964b9ee63b7075 Jeff Garzik 2016-06-17 162 st[0] ^= keccakf_rndc[round];
53964b9ee63b7075 Jeff Garzik 2016-06-17 163 }
53964b9ee63b7075 Jeff Garzik 2016-06-17 @164 }
53964b9ee63b7075 Jeff Garzik 2016-06-17 165

:::::: The code at line 164 was first introduced by commit
:::::: 53964b9ee63b7075931b8df85307c449da564b50 crypto: sha3 - Add SHA-3 hash algorithm

:::::: TO: Jeff Garzik <jeff@xxxxxxxxxx>
:::::: CC: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip