Thread (6 messages) flat view 6 messages, 3 authors, 2018-09-20

Re: [PATCH 2/2] powerpc/pseries: Remove VLA from lparcfg_write()

From: Joel Stanley <joel@jms.id.au>
Date: 2018-09-17 02:37:29

On Wed, 5 Sep 2018 at 11:40, Suraj Jitindar Singh
[off-list ref] wrote:
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 <sjitindarsingh@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help