From patchwork Sun Oct 28 17:24:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 10658687 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 043B814DE for ; Sun, 28 Oct 2018 17:24:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC75C29131 for ; Sun, 28 Oct 2018 17:24:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0243298A0; Sun, 28 Oct 2018 17:24:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7224F29131 for ; Sun, 28 Oct 2018 17:24:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FD1989CE1; Sun, 28 Oct 2018 17:24:06 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id 573F589CD5 for ; Sun, 28 Oct 2018 17:24:04 +0000 (UTC) Received: by mail-pg1-x544.google.com with SMTP id o14-v6so2741762pgv.7 for ; Sun, 28 Oct 2018 10:24:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=K6O8T0JW/yZqF5e35ubtRewtxR5rCSPy1fbwHFqgkyQ=; b=kPRS9OMj2aAk8noxj8bwhaPpwF/9ILPHqhbv1D5hjyDjpXK+GoMdM0akzTdN/7ZJO0 a8152IT/M3URbRQb9HJ9kgEgD84JVtNpXZSHp1ViTuolr2H8ZOLkD7z7Ntvu/0mef2zw 3C879jV158YE3Xrvv6zlBrYvhzMJIFlEnjh3ONo9Das+kUORGeqpZeFdrSbVGkzlSQyP pd1j/3HaSUMtsEE4DuN7KDQQKmLE7lvSfhrgM8iMXMYVZhRo23nSswlYeitT8tLGx3OA 8LYh+SAnUcXa02fESEWfUh8Z+3YZuBcoMptHTaJjkvXJmG/KvPrgouMfjRfmh9UKQ31R 0nLg== X-Gm-Message-State: AGRZ1gLYc3C0sILfBdVSQUK5dEn1+wDU/hLCXyHUFlcknwliVPx+up7T hdTWqsTmdB2pvVLkJKyDxr+R1w== X-Google-Smtp-Source: AJdET5dNn/t0uNG5gSHkrbtXiwoqFfF0bzEBNPqE/5AJmhGHZwLbkUZclcpZ0TwLuG4LomEgSpRa8w== X-Received: by 2002:a63:6cc:: with SMTP id 195mr10958632pgg.52.1540747443916; Sun, 28 Oct 2018 10:24:03 -0700 (PDT) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id z22-v6sm18611546pgv.24.2018.10.28.10.24.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 10:24:02 -0700 (PDT) Date: Sun, 28 Oct 2018 10:24:01 -0700 From: Kees Cook To: Linus Torvalds Message-ID: <20181028172401.GA41102@beast> MIME-Version: 1.0 Content-Disposition: inline Subject: [Intel-gfx] [GIT PULL] VLA removal for v4.20-rc1 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kbuild@vger.kernel.org, David Airlie , intel-gfx@lists.freedesktop.org, Nick Desaulniers , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Masahiro Yamada , Andrew Morton Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP 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(-)