]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Makefile: Enable -Wzero-length-bounds
authorKees Cook <keescook@chromium.org>
Tue, 17 Aug 2021 18:56:36 +0000 (11:56 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 30 Aug 2021 18:32:10 +0000 (11:32 -0700)
commitda65e02648bea617f0608da31e3be3228315f771
tree2e376dbd64561b1d7618c3f6eb465f60dbc00f75
parentdbb4411e1b14944648eacbfb8ea3eb4586bd7b1e
Makefile: Enable -Wzero-length-bounds

With all known internal zero-length accesses fixed, it is possible to
enable -Wzero-length-bounds globally. Since this is included by default
in -Warray-bounds, we just need to stop disabling it.

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