diff options
author | Suraj Jitindar Singh <[email protected]> | 2018-09-05 12:09:51 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-09-19 22:08:12 +1000 |
commit | 74422e2b19391e0bb9f11b0ab4522bbf7f93c4ba (patch) | |
tree | 29d65140dfe2564786cf8b3139f035cfe61d7f65 /arch/powerpc/include/asm/processor.h | |
parent | ab91239942a900e209f724886273060d9288f6fb (diff) |
powerpc/pseries: Remove VLA from lparcfg_write()
In lparcfg_write we hard code kbuf_sz and then use this as the variable
length of kbuf creating a variable length array. Since we're hard coding
the length anyway just define the array using this as the length and
remove the need for kbuf_sz, thus removing the variable length array.
Signed-off-by: Suraj Jitindar Singh <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions