On 06/29/2018 11:52 AM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > switches from an unchanging variable to a constant expression to eliminate > the VLA generation. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com > > Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> > Cc: Paul Mackerras <pau...@samba.org> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Randy Dunlap <rdun...@infradead.org> > Cc: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> > Cc: Rob Herring <r...@kernel.org> > Cc: Ingo Molnar <mi...@kernel.org> > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Kees Cook <keesc...@chromium.org> > ---
Reviewed-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com>