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.com > > Signed-off-by: Kees Cook <keesc...@chromium.org> > --- > v2: allocate array as part of structure (Andrew Lunn)
Hi Kees This looks much better, thanks. Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew