Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3163725imd; Mon, 29 Oct 2018 02:47:43 -0700 (PDT) X-Google-Smtp-Source: AJdET5eBy/3IFNeCJvb7T2KdmRRnsVaHUYr1APpV080PomAlSwG5HKBWvIW+E/pscBIxJcdEADJI X-Received: by 2002:a17:902:6b46:: with SMTP id g6-v6mr13497266plt.33.1540806462993; Mon, 29 Oct 2018 02:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540806462; cv=none; d=google.com; s=arc-20160816; b=MgltzE9gr9UpZWf563G0vpricX3bw7qX7YVOBI/ZkA87ke1RhYwvnIEqbO5YCgZAtk oIQeMOmMKxRB7HodrZFraUqs4ceY43CzJbCI9FpTEWjd6e9rF6FLuUyY91YnlBnZ++iU L6cICmtC5yE6PeeUbTOcQecNr2qKIuygnN87OBv1niHkatju8jGV1oQSth7bjYnJS73k G+VrBpM+T4rnVFkECh+4UiA0Tn421kNGaRU8SiOGEZSC4wQGRslgakqG3J2zsVtk0CY3 wofcFbl0OXOn6AwODTH9PJdZric3mQG41QgtayhkvOY/sX3uNyrwyojPRBsAiCrZk8/4 qGsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=liAqJLJGFsBm+A0XHV4bBFa1jJiQYVDJE/SAKnGqDX8=; b=U7Pg/7UJKP5ciJgP/ulc7UT0PDuySnOlZ2oY1geDA6dfCO+rpIT1kbyxEyaWKnMUMI rKKpSw1S3XYAEg2U5dfojlyKoQodZ1VHVpIx8Ni9zQp6mAQBi/V1SCQtLmMKqGvuA/Yo OWAOgUVi+MBvkxk+Q01alXQTNZst3/blBBfjqYUX0aby6NRiWAud/1nBxaJQsN6Ob1KH zteWzcr57jql63BppotWzzn8fIFE6XXCpKSWCHKe80zaV9v4jMQiGdNqZTtm9oQu+Rxt s88b/WoQZZos/jUtf3pWDsuZh0+jYaJ7Qt9AKIViSYjhbXhFUo6wCXmIuOI4j4Tb3B5E DUsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u184si8019010pgd.93.2018.10.29.02.47.27; Mon, 29 Oct 2018 02:47:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729619AbeJ2Sew (ORCPT + 99 others); Mon, 29 Oct 2018 14:34:52 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:46304 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729343AbeJ2Sew (ORCPT ); Mon, 29 Oct 2018 14:34:52 -0400 Received: by mail-qk1-f194.google.com with SMTP id q1so2764272qkf.13 for ; Mon, 29 Oct 2018 02:46:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=liAqJLJGFsBm+A0XHV4bBFa1jJiQYVDJE/SAKnGqDX8=; b=qtzvIo88n2ExP6BVV62Cm3X5B1Yn3d3xNB0PjNkwnLYPl77bweYJDYIwSBY92qCPXU UkemeXag0TyAP9OZGZGHJmj2fxixEMQNWc2wkwJokM493SrZFDqovJvkSyZbmeHP0zRD Cnnwy3exGVOStSzWTxDu4Bxyl99LKzXDULtJhGXpkVwRsIIqnypqOfpwd6Xex7W0FxFh g64uzZh4c1xjk3QYqWIZDC6e2NxOgjf36eKQKSsRI3g85XtDMMU2APnTiOmrWOL3iqI0 xH/yW+N5koULnJ9VmnhZORsd1axFOHnXMECTlCDpX18EqWQ7xNTyNVIVnjX03UdN5cXi HyAQ== X-Gm-Message-State: AGRZ1gKVJclRLYfSTTltbUuh5H/TmvHLhbnlXa2TbicQmc0+iCIx8PSg sQDbEaUjkgowMTyer8M6TQyUTGQjaajj3FqfhKU= X-Received: by 2002:a37:a3c6:: with SMTP id m189mr11647081qke.173.1540806417916; Mon, 29 Oct 2018 02:46:57 -0700 (PDT) MIME-Version: 1.0 References: <20181010184533.691620-1-arnd@arndb.de> <20181012111603.0d03e043@bbrezillon> <20181012112259.56f3c44f@bbrezillon> <20181029083004.54d535d2@bbrezillon> In-Reply-To: <20181029083004.54d535d2@bbrezillon> From: Arnd Bergmann Date: Mon, 29 Oct 2018 10:46:41 +0100 Message-ID: Subject: Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd To: Boris Brezillon Cc: Kees Cook , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , linux-mtd , Linux Kernel Mailing List , Olof Johansson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 8:30 AM Boris Brezillon wrote: > On Sun, 28 Oct 2018 19:13:26 -0700 Kees Cook wrote: > > On Fri, Oct 12, 2018 at 2:22 AM, Boris Brezillon wrote: > > > On Fri, 12 Oct 2018 11:19:52 +0200 Arnd Bergmann wrote: > > > > On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon wrote: > > > Oh, I thought I'd let you send a v2, but I can do it if you prefer. > > > > Olof just pointed out to me that neither fix landed for this? What's > > needed for this? > > Nothing in particular, I was planning on sending a new version after > -rc1 is out and then queue it for 4.21 (5.1?) (this patch came in a bit > late, and I had already stopped taking patches for 4.20). > > If you consider this a fix or want to have it in 4.20 for other reasons, > just let me know and I'll queue it to the -fixes branch. We generally try to have a kernel that can be built in any configuration without warnings, so please add it for v4.20. Arnd