Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-10 Thread Jan Kara
On Thu 05-04-18 11:17:20, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > of bhs. > >

Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-10 Thread Jan Kara
On Thu 05-04-18 11:17:20, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > of bhs. > >

Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-06 Thread Joe Perches
On Thu, 2018-04-05 at 11:17 -0700, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > of bhs. > >

Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-06 Thread Joe Perches
On Thu, 2018-04-05 at 11:17 -0700, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > of bhs. > >

Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-05 Thread Kees Cook
On Thu, Apr 5, 2018 at 11:17 AM, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing >

Re: [PATCH v2] isofs compress: Remove VLA usage

2018-04-05 Thread Kees Cook
On Thu, Apr 5, 2018 at 11:17 AM, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the bhs and pages arrays from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > of bhs. > >

[PATCH v2] isofs compress: Remove VLA usage

2018-04-05 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the bhs and pages arrays from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing of bhs. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers

[PATCH v2] isofs compress: Remove VLA usage

2018-04-05 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the bhs and pages arrays from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing of bhs. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers ---