[RESEND PATCH 2/4] um: remove uses of variable length arrays

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While the affected code is run in user-mode, the build still warns about it. Convert all uses of VLA to dynamic allocations. Signed-off-by: Bartosz Golaszewski --- arch/um/os-Linux/umid.c | 36 +++- 1 file changed, 27 insertions(+), 9 d

[RESEND PATCH 2/4] um: remove uses of variable length arrays

2019-04-03 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While the affected code is run in user-mode, the build still warns about it. Convert all uses of VLA to dynamic allocations. Signed-off-by: Bartosz Golaszewski --- arch/um/os-Linux/umid.c | 36 +++- 1 file changed, 27 insertions(+), 9 d