Re: [PATCH] drm/gma500: Remove VLA

2018-05-23 Thread Daniel Vetter
On Fri, May 18, 2018 at 10:58:40AM -0700, Kees Cook wrote: > On Mon, Apr 9, 2018 at 2:06 PM, Laura Abbott wrote: > > > > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > > turn on -Wvla. Switch to a reasonable upper bound for the VLAs in > > the

Re: [PATCH] drm/gma500: Remove VLA

2018-05-23 Thread Daniel Vetter
On Fri, May 18, 2018 at 10:58:40AM -0700, Kees Cook wrote: > On Mon, Apr 9, 2018 at 2:06 PM, Laura Abbott wrote: > > > > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > > turn on -Wvla. Switch to a reasonable upper bound for the VLAs in > > the gma500 driver. > > > >

Re: [PATCH] drm/gma500: Remove VLA

2018-05-18 Thread Kees Cook
On Mon, Apr 9, 2018 at 2:06 PM, Laura Abbott wrote: > > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > turn on -Wvla. Switch to a reasonable upper bound for the VLAs in > the gma500 driver. > > [1] https://lkml.org/lkml/2018/3/7/621 > >

Re: [PATCH] drm/gma500: Remove VLA

2018-05-18 Thread Kees Cook
On Mon, Apr 9, 2018 at 2:06 PM, Laura Abbott wrote: > > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > turn on -Wvla. Switch to a reasonable upper bound for the VLAs in > the gma500 driver. > > [1] https://lkml.org/lkml/2018/3/7/621 > > Signed-off-by: Laura Abbott