um: remove uses of variable length arrays
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 11 Apr 2019 09:49:42 +0000 (11:49 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 7 May 2019 21:18:28 +0000 (23:18 +0200)
commit0d4e5ac7e78035950d564e65c38ce148cb9af681
tree9fb0db982a614a81981afef8dca37515bfcf9e38
parent4b6b4c902947cae374593e601400a7bdd3d7f7a4
um: remove uses of variable length arrays

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 <bgolaszewski@baylibre.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/umid.c