]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61284dcc27e7c583518dc1f06076514847e639ea
treea34c683d2f32cb6f87a3a554f4cae765cfd5c815
parent498943f70150aa7c2e7c43449466a47f430d08d9
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