[PATCH] include/linux/gfp.h: fix typo

2018-12-27 Thread Kyle Spiers
Fix misspelled "satisfied" Signed-off-by: Kyle Spiers --- include/linux/gfp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 0705164f928c..5f5e25fd6149 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -

[PATCH v2] async_pq: Remove VLA usage

2018-05-05 Thread Kyle Spiers
In the quest to remove VLAs from the kernel[1], this moves the allocation of coefs and blocks from the stack to being kmalloc()ed. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <ksspi...@google.com> --- Forgot to add slab.h --- crypto/async_tx/async_pq.c

[PATCH v2] async_pq: Remove VLA usage

2018-05-05 Thread Kyle Spiers
In the quest to remove VLAs from the kernel[1], this moves the allocation of coefs and blocks from the stack to being kmalloc()ed. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- Forgot to add slab.h --- crypto/async_tx/async_pq.c | 18 ++ crypto/async_tx

[PATCH] async_pq: Remove VLA usage

2018-05-03 Thread Kyle Spiers
In the quest to remove VLAs from the kernel[1], this moves the allocation of coefs and blocks from the stack to being kmalloc()ed. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <ksspi...@google.com> --- crypto/async_tx/async_pq.c | 18 ++ crypto/as

[PATCH] async_pq: Remove VLA usage

2018-05-03 Thread Kyle Spiers
In the quest to remove VLAs from the kernel[1], this moves the allocation of coefs and blocks from the stack to being kmalloc()ed. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- crypto/async_tx/async_pq.c | 18 ++ crypto/async_tx/raid6test.c | 8

[PATCH v2] rave-sp: Remove VLA

2018-04-27 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this creates constants for the checksum lengths of CCITT and 8B2C and changes crc_calculated to be the maximum size of a checksum. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <ksspi...@google.com> --- drivers/mf

[PATCH v2] rave-sp: Remove VLA

2018-04-27 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this creates constants for the checksum lengths of CCITT and 8B2C and changes crc_calculated to be the maximum size of a checksum. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- drivers/mfd/rave-sp.c | 11

Re: [PATCH] rave-sp: Remove VLA

2018-04-25 Thread Kyle Spiers
rote: > > > On Mon, 23 Apr 2018, Kyle Spiers wrote: > > > > > >> As part of the effort to remove VLAs from the kernel[1], this creates > > >> constants for the checksum lengths of CCITT and 8B2C and changes > > >> crc_calculated t

Re: [PATCH] rave-sp: Remove VLA

2018-04-25 Thread Kyle Spiers
The error message is also wrong. Would "Checksum length too large" be fine? On Wed, Apr 25, 2018 at 3:31 AM Lee Jones wrote: > On Tue, 24 Apr 2018, Kees Cook wrote: > > On Mon, Apr 23, 2018 at 10:43 PM, Lee Jones wrote: > > > On Mon, 23 Apr 2018, Kyle Spiers

[PATCH] rave-sp: Remove VLA

2018-04-23 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this creates constants for the checksum lengths of CCITT and 8B2C and changes crc_calculated to be the maximum size of a checksum. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <ksspi...@google.com> --- drivers/mf

[PATCH] rave-sp: Remove VLA

2018-04-23 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this creates constants for the checksum lengths of CCITT and 8B2C and changes crc_calculated to be the maximum size of a checksum. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- drivers/mfd/rave-sp.c | 11

[PATCH v4] isofs compress: Remove VLA usage

2018-04-10 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 <ks

[PATCH v4] isofs compress: Remove VLA usage

2018-04-10 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 --- Fix

[PATCH v3] isofs compress: Remove VLA usage

2018-04-10 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 <ks

[PATCH v3] isofs compress: Remove VLA usage

2018-04-10 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 --- Fixed

[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 <ks

[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 --- fs

[PATCH] isofs compress: Remove VLA usage

2018-04-04 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 <ks

[PATCH] isofs compress: Remove VLA usage

2018-04-04 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 --- fs

[PATCH v2] pcm_native: Remove VLA usage

2018-03-28 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. Signed-off-by: Kyle Spiers <k...@spiers.me> --- sound/core/pcm_native.

[PATCH v2] pcm_native: Remove VLA usage

2018-03-28 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. Signed-off-by: Kyle Spiers --- sound/core/pcm_native.c | 11 +++ 1 file

[PATCH] pcm_native: Remove VLA usage

2018-03-28 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <k...@spiers

[PATCH] pcm_native: Remove VLA usage

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

[PATCH v3] rbd: Remove VLA usage

2018-03-17 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the stack array calculation instead of using a variable for the sizing. The resulting size can be found from sizeof(buf). [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers &l

[PATCH v3] rbd: Remove VLA usage

2018-03-17 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the stack array calculation instead of using a variable for the sizing. The resulting size can be found from sizeof(buf). [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- drivers

[PATCH v2] rbd: Remove VLA usage

2018-03-15 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the stack array calculation instead of using a variable for the sizing. The resulting size can be found from sizeof(buf). [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <k...@spiers

[PATCH v2] rbd: Remove VLA usage

2018-03-15 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the stack array calculation instead of using a variable for the sizing. The resulting size can be found from sizeof(buf). [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- drivers

[PATCH] rbd: Remove VLA usage

2018-03-09 Thread Kyle Spiers
>From 4198ebe2e8058ff676d8e2f993d8806d6ca29c11 Mon Sep 17 00:00:00 2001 From: Kyle Spiers <k...@spiers.me> Date: Fri, 9 Mar 2018 12:34:15 -0800 Subject: [PATCH] rbd: Remove VLA usage As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the st

[PATCH] rbd: Remove VLA usage

2018-03-09 Thread Kyle Spiers
>From 4198ebe2e8058ff676d8e2f993d8806d6ca29c11 Mon Sep 17 00:00:00 2001 From: Kyle Spiers Date: Fri, 9 Mar 2018 12:34:15 -0800 Subject: [PATCH] rbd: Remove VLA usage As part of the effort to remove VLAs from the kernel[1], this moves the literal values into the stack array calculation inst