Re: [PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-06-19 Thread David Miller
From: Andrew Lunn Date: Wed, 20 Jun 2018 08:32:48 +0200 > Does it cleanly apply to net-next? net-next is closed, so net-next submissions should be sent when it opens back up which should be some time this weekend. Anything not in "Under Review" state in patchwork always must be resubmitted at t

Re: [PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-06-19 Thread Andrew Lunn
On Tue, Jun 19, 2018 at 09:44:27PM -0700, Kees Cook wrote: > On Wed, May 30, 2018 at 1:57 PM, Andrew Lunn wrote: > > On Wed, May 30, 2018 at 01:48:30PM -0700, Kees Cook wrote: > >> In the quest to remove all stack VLA usage from the kernel[1], this > >> moves the allocation into struct mdio_mux_gp

Re: [PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-06-19 Thread Kees Cook
On Wed, May 30, 2018 at 1:57 PM, Andrew Lunn wrote: > On Wed, May 30, 2018 at 01:48:30PM -0700, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> moves the allocation into struct mdio_mux_gpio_state during probe. >> >> [1] >> https://lkml.kernel.org/r/CA+5

Re: [PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-05-30 Thread Andrew Lunn
On Wed, May 30, 2018 at 01:48:30PM -0700, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > moves the allocation into struct mdio_mux_gpio_state during probe. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.

[PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-05-30 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this moves the allocation into struct mdio_mux_gpio_state during probe. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com Signed-off-by: Kees Cook --- v2: allocate array as part of stru