diff options
author | Kees Cook <keescook@chromium.org> | 2018-06-29 11:52:54 -0700 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-04 22:41:09 +1000 |
commit | 1b80ac648483189e45f60d4ddbb54b78ca942849 (patch) | |
tree | 3fb7e5302ca80ea10edc6c575a34d46de8f4dce9 /arch/powerpc/sysdev/xive/native.c | |
parent | 00c376fdd7ed6cc083da3a3c51a63a75f270d647 (diff) |
powerpc/msi: Remove VLA usage
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
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
0 files changed, 0 insertions, 0 deletions