Re: [PATCH v3] gpio: Remove VLA from stmpe driver

2018-05-24 Thread Linus Walleij
On Wed, Mar 28, 2018 at 7:59 PM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) > > The number of GPIOs on the supported chips is fairly small > so stack allocate to a known upper bound and spit out a warning > if any new chips

Re: [PATCH v3] gpio: Remove VLA from stmpe driver

2018-05-23 Thread Kees Cook
On Wed, Mar 28, 2018 at 10:59 AM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) > > The number of GPIOs on the supported chips is fairly small > so stack allocate to a known upper bound and spit out a warning > if any new chips

Re: [PATCH v3] gpio: Remove VLA from stmpe driver

2018-03-28 Thread Phil Reid
On 29/03/2018 01:59, Laura Abbott wrote: The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) The number of GPIOs on the supported chips is fairly small so stack allocate to a known upper bound and spit out a warning if any new chips have more gpios. Sign

[PATCH v3] gpio: Remove VLA from stmpe driver

2018-03-28 Thread Laura Abbott
The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) The number of GPIOs on the supported chips is fairly small so stack allocate to a known upper bound and spit out a warning if any new chips have more gpios. Signed-off-by: Laura Abbott --- v3: Split this