Re: [PATCH v2] rave-sp: Remove VLA

2018-04-30 Thread Kees Cook
On Mon, Apr 30, 2018 at 5:38 AM, Lee Jones wrote: > On Fri, 27 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 to be the maximum size of a checksum. >> >> h

Re: [PATCH v2] rave-sp: Remove VLA

2018-04-30 Thread Lee Jones
On Fri, 27 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 to be the maximum size of a checksum. > > https://lkml.org/lkml/2018/3/7/621 > > Signed-off-by: Kyle

[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 +-- 1