]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Makefile: Enable -Warray-bounds
authorKees Cook <keescook@chromium.org>
Sat, 19 Jun 2021 06:30:07 +0000 (23:30 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 30 Aug 2021 18:32:10 +0000 (11:32 -0700)
commitdbb4411e1b14944648eacbfb8ea3eb4586bd7b1e
treea4112d467394a191ffc4060984f91a94f21c52bc
parent5975fbb6f1eb0615b96873425a363c80859060ef
Makefile: Enable -Warray-bounds

With the recent fixes for flexible arrays and expanded FORTIFY_SOURCE
coverage, it is now possible to enable -Warray-bounds. Since both
GCC and Clang include -Warray-bounds in -Wall, we just need to stop
disabling it.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Co-developed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Makefile