commit | 7169483ce4570bd2918cb7b1ab04c3e095a22713 | [log] [tgz] |
---|---|---|
author | Kyle Spiers <ksspiers@google.com> | Fri Apr 27 15:30:23 2018 -0700 |
committer | Lee Jones <lee.jones@linaro.org> | Wed May 16 09:21:48 2018 +0100 |
tree | 6d733e984373eff7973cb484ae1d33e3e317bbe3 | |
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>