Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

From: Arnd Bergmann
Date: Mon Oct 29 2018 - 05:47:01 EST


On Mon, Oct 29, 2018 at 8:30 AM Boris Brezillon
<boris.brezillon@xxxxxxxxxxx> wrote:
> On Sun, 28 Oct 2018 19:13:26 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> > On Fri, Oct 12, 2018 at 2:22 AM, Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote:
> > > On Fri, 12 Oct 2018 11:19:52 +0200 Arnd Bergmann <arnd@xxxxxxxx> wrote:
> > > > On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon <boris.brezillon@xxxxxxxxxxx> 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