[Intel-gfx] [GIT PULL] VLA removal for v4.20-rc1

Kees Cook keescook at chromium.org
Sun Oct 28 17:24:01 UTC 2018


Hi Linus,

Please pull these VLA removal changes for v4.20-rc1. This turns on "-Wvla"
globally now that the last few trees with their VLA removals have landed
(crypto, block, net, and powerpc). Arnd mentioned that there may be a
couple more VLAs hiding in hard-to-find randconfigs, but nothing big has
shaken out in the last month or so in linux-next. We should be basically
VLA-free now! Wheee. :)

Thanks!

-Kees

The following changes since commit 57361846b52bc686112da6ca5368d11210796804:

  Linux 4.19-rc2 (2018-09-02 14:37:30 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/vla-v4.20-rc1

for you to fetch changes up to 0bb95f80a38f82884693194ea720e9cca5e12ada:

  Makefile: Globally enable VLA warning (2018-10-11 08:17:50 -0700)

----------------------------------------------------------------
Globally warn on VLA use

- Remove unused fallback for BUILD_BUG_ON (which technically contains a VLA)
- Lift -Wvla to the top-level Makefile

----------------------------------------------------------------
Kees Cook (1):
      Makefile: Globally enable VLA warning

Masahiro Yamada (1):
      compiler.h: give up __compiletime_assert_fallback()

 Makefile                      |  3 +++
 drivers/gpu/drm/i915/Makefile |  2 +-
 include/linux/compiler.h      | 17 +----------------
 lib/Makefile                  |  2 ++
 scripts/Makefile.extrawarn    |  1 -
 5 files changed, 7 insertions(+), 18 deletions(-)

-- 
Kees Cook


More information about the Intel-gfx mailing list