Re: [PATCHv2] dmaengine: dmatest: Remove use of VLAs

2018-04-16 Thread Vinod Koul
On Tue, Apr 10, 2018 at 06:02:16PM -0700, Laura Abbott wrote: > There's an ongoing effort to remove VLAs from the kernel > (https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. > The test already pre-allocates some buffers with kmalloc so turn > the two VLAs in to pre-allocated kmalloc

Re: [PATCHv2] dmaengine: dmatest: Remove use of VLAs

2018-04-16 Thread Vinod Koul
On Tue, Apr 10, 2018 at 06:02:16PM -0700, Laura Abbott wrote: > There's an ongoing effort to remove VLAs from the kernel > (https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. > The test already pre-allocates some buffers with kmalloc so turn > the two VLAs in to pre-allocated kmalloc

Re: [PATCHv2] dmaengine: dmatest: Remove use of VLAs

2018-04-11 Thread Sinan Kaya
On 4/10/2018 9:02 PM, Laura Abbott wrote: > There's an ongoing effort to remove VLAs from the kernel > (https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. > The test already pre-allocates some buffers with kmalloc so turn > the two VLAs in to pre-allocated kmalloc buffers. > >

Re: [PATCHv2] dmaengine: dmatest: Remove use of VLAs

2018-04-11 Thread Sinan Kaya
On 4/10/2018 9:02 PM, Laura Abbott wrote: > There's an ongoing effort to remove VLAs from the kernel > (https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. > The test already pre-allocates some buffers with kmalloc so turn > the two VLAs in to pre-allocated kmalloc buffers. > >