* Re: [kees:for-next/hardening 6/14] mm/kasan/kasan_test_c.c:1504:7: warning: argument to variable-length array may be too large due to conversion from 'int' to 'long unsigned int'
[not found] <aBr42psLtchaluNU@rli9-mobl>
@ 2025-05-07 15:48 ` Kees Cook
0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2025-05-07 15:48 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Nathan Chancellor, Christoph Hellwig,
Arnd Bergmann, linux-hardening
On Wed, May 07, 2025 at 02:08:26PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening
> head: 48b79238694db6e7eb3dd6153cf71107db624a11
> commit: 1ca6c23046d30abfe57d8706248ad5888aafa3bf [6/14] kbuild: Switch from -Wvla to -Wvla-larger-than=1
> :::::: branch date: 33 hours ago
> :::::: commit date: 9 days ago
> config: arm64-randconfig-002-20250502 (https://download.01.org/0day-ci/archive/20250507/202505071331.4iOzqmuE-lkp@intel.com/config)
> compiler: aarch64-linux-gcc (GCC) 8.5.0
> [...]
> mm/kasan/kasan_test_c.c: At top level:
> cc1: warning: unrecognized command line option '-Wno-vla-larger-than'
Man, GCC 8 and this option is pretty broken. I've update the patch
again to just do option removal instead of traditional warning
disabling:
https://web.git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=for-next/hardening&id=a81be1e542c0f35e171bc564d8b60785a12cff29
Thanks!
--
Kees Cook
^ permalink raw reply [flat|nested] only message in thread