Re: [PATCHv2] mISDN: Remove VLAs

2018-04-12 Thread David Miller
From: Laura Abbott Date: Tue, 10 Apr 2018 18:04:29 -0700 > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > turn on -Wvla. Remove the VLAs from the mISDN code by switching to using > kstrdup in one place and using an upper bound in another. > > Signed-off-by: Laura Abb

[PATCHv2] mISDN: Remove VLAs

2018-04-10 Thread Laura Abbott
There's an ongoing effort to remove VLAs[1] from the kernel to eventually turn on -Wvla. Remove the VLAs from the mISDN code by switching to using kstrdup in one place and using an upper bound in another. Signed-off-by: Laura Abbott --- v2: Switch to a tighter upper bound so we are allocating a