summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/powernv-cpufreq.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-06-29 21:52:54 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-04 15:41:09 +0300
commit1b80ac648483189e45f60d4ddbb54b78ca942849 (patch)
tree3fb7e5302ca80ea10edc6c575a34d46de8f4dce9 /drivers/cpufreq/powernv-cpufreq.c
parent00c376fdd7ed6cc083da3a3c51a63a75f270d647 (diff)
downloadlinux-1b80ac648483189e45f60d4ddbb54b78ca942849.tar.xz
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 'drivers/cpufreq/powernv-cpufreq.c')
0 files changed, 0 insertions, 0 deletions