diff options
author | Kyle Spiers <ksspiers@google.com> | 2018-04-27 15:30:23 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-05-16 09:21:48 +0100 |
commit | 7169483ce4570bd2918cb7b1ab04c3e095a22713 (patch) | |
tree | 6d733e984373eff7973cb484ae1d33e3e317bbe3 /drivers/mfd/tps65911-comparator.c | |
parent | ac1886165cd1201c5793099b6fbad1876bf98dfe (diff) |
mfd: rave-sp: Remove VLA
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 <ksspiers@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tps65911-comparator.c')
0 files changed, 0 insertions, 0 deletions