Re: [PATCH] video: fbdev: via_aux_vt1632: remove VLA usage

2018-03-09 Thread Gustavo A. R. Silva
Hi Emil, On 03/08/2018 05:58 AM, Emil Velikov wrote: Hi Gustavo, On 7 March 2018 at 19:54, Gustavo A. R. Silva wrote: In preparation to enabling -Wvla, remove VLA and replace it with a fixed-length array instead. Also, remove variable 'len'. What is the reason behind adding -Wvla? Is there

Re: [PATCH] video: fbdev: via_aux_vt1632: remove VLA usage

2018-03-08 Thread Emil Velikov
Hi Gustavo, On 7 March 2018 at 19:54, Gustavo A. R. Silva wrote: > In preparation to enabling -Wvla, remove VLA and replace it > with a fixed-length array instead. Also, remove variable 'len'. > What is the reason behind adding -Wvla? Is there a thread some that I can read up on? > Notice that n

[PATCH] video: fbdev: via_aux_vt1632: remove VLA usage

2018-03-07 Thread Gustavo A. R. Silva
In preparation to enabling -Wvla, remove VLA and replace it with a fixed-length array instead. Also, remove variable 'len'. Notice that no new IDs have been added in seven years. Signed-off-by: Gustavo A. R. Silva --- drivers/video/fbdev/via/via_aux_vt1632.c | 6 +++--- 1 file changed, 3 insert