mISDN: Remove VLAs
authorLaura Abbott <labbott@redhat.com>
Wed, 11 Apr 2018 01:04:29 +0000 (18:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2018 01:46:10 +0000 (21:46 -0400)
commit9a4381618262157586051f5ba0db42df3c6ab4b5
treea34c683d2f32cb6f87a3a554f4cae765cfd5c815
parentb16520f7493d06d8ef6d4255bdfcf7a803d7874a
mISDN: Remove VLAs

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 <labbott@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/dsp_hwec.c
drivers/isdn/mISDN/l1oip_core.c