Re: crypto/ahash.c:1073:1: warning: the frame size of 1040 bytes is larger than 1024 bytes
Geert Uytterhoeven <[email protected]> Mon, 11 May 2026 08:42:13 +0200
| Newsgroups | com.zx2c4.lists.wireguard,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <CAMuHMdXPeUnjN__PvY+HQg+cSxKe-RLnyT-A5KGe=4cmjnUNbg@mail.gmail.com> |
On Sat, 9 May 2026 at 19:07, kernel test robot <[email protected]> wrote: > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: ec89572766744e844df24c27d31c97b4c00f4e07 > commit: 9d9b193ed73a65ec47cf1fd39925b09da8216461 crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390) > date: 9 months ago > config: mips-eyeq5_defconfig (https://download.01.org/0day-ci/archive/20260510/[email protected]/config) > compiler: mips64-linux-gcc (GCC) 15.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/[email protected]/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Fixes: 9d9b193ed73a ("crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)") > | Reported-by: kernel test robot <[email protected]> > | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ > > All warnings (new ones prefixed by >>): > > crypto/ahash.c: In function 'crypto_hash_digest': > >> crypto/ahash.c:1073:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] > 1073 | } > | ^ This is one of the few defconfigs that still use CONFIG_FRAME_WARN=1024. The default value for 32-bit systems was lifted from 1024 to 1280 in commit 32115734c0ed8b46 ("Increase the default 32-bit build frame size warning limit to 1280 bytes") in v6.18, so perhaps the downgrade to 1024 should be dropped from the following defconfigs: $ git grep CONFIG_FRAME_WARN=1024 arch/mips/configs/eyeq5_defconfig:CONFIG_FRAME_WARN=1024 arch/mips/configs/eyeq6_defconfig:CONFIG_FRAME_WARN=1024 arch/mips/configs/eyeq6lplus_defconfig:CONFIG_FRAME_WARN=1024 arch/mips/configs/lemote2f_defconfig:CONFIG_FRAME_WARN=1024 arch/mips/configs/loongson2k_defconfig:CONFIG_FRAME_WARN=1024 arch/powerpc/configs/fsl-emb-nonhw.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/arm.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/armeb.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/i686.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/m68k.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/mips.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/mipsel.config:CONFIG_FRAME_WARN=1024 tools/testing/selftests/wireguard/qemu/arch/powerpc.config:CONFIG_FRAME_WARN=1024 I am not sure about the wireguard selftests: they might use the lower value deliberately for testing? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds