]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile: Globally enable VLA warning
authorKees Cook <keescook@chromium.org>
Mon, 25 Jun 2018 22:59:34 +0000 (15:59 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 11 Oct 2018 15:17:50 +0000 (08:17 -0700)
commit091879a9182914c2542029d17f7a82fe1855531a
tree788e8ef11abfc6b7dc7cd0ba6b7f23fa2f6b95e1
parent571aaaf90622a7aa2dc59b79b69dd0db1eff938f
Makefile: Globally enable VLA warning

Now that Variable Length Arrays (VLAs) have been entirely removed[1]
from the kernel, enable the VLA warning globally. The only exceptions
to this are the KASan an UBSan tests which are explicitly checking that
VLAs trigger their respective tests.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Airlie <airlied@linux.ie>
Cc: linux-kbuild@vger.kernel.org
Cc: intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Makefile
drivers/gpu/drm/i915/Makefile
lib/Makefile
scripts/Makefile.extrawarn