[PATCH] powerpc/msi: Remove VLA usage

Tyrel Datwyler turtle.in.the.kernel at gmail.com
Wed Jul 18 07:12:49 AEST 2018


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=qPXydAacU1RqZWA@mail.gmail.com
> 
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Randy Dunlap <rdunlap at infradead.org>
> Cc: Tyrel Datwyler <tyreld at linux.vnet.ibm.com>
> Cc: Rob Herring <robh at kernel.org>
> Cc: Ingo Molnar <mingo at kernel.org>
> Cc: linuxppc-dev at lists.ozlabs.org
> Signed-off-by: Kees Cook <keescook at chromium.org>
> ---

Reviewed-by: Tyrel Datwyler <tyreld at linux.vnet.ibm.com>


More information about the Linuxppc-dev mailing list