powerpc/msi: Remove VLA usage

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 19 16:07:37 AEST 2018


On Fri, 2018-06-29 at 18:52:54 UTC, 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1b80ac648483189e45f60d4ddbb54b

cheers


More information about the Linuxppc-dev mailing list