diff options
author | Jan-Simon Möller <[email protected]> | 2012-07-02 12:54:28 +0200 |
---|---|---|
committer | Behan Webster <[email protected]> | 2014-10-14 10:51:23 +0200 |
commit | ea0e0de69fc413aa80dbf1ec1fb9702ea1b6faca (patch) | |
tree | eaf66f02ff3614bb87a60e1ce17b8125ef67dc82 /lib/cpu-notifier-error-inject.c | |
parent | ffb32e973eb5105ec55e0bbf2e77a1ea4a7a123a (diff) |
crypto: LLVMLinux: Remove VLAIS usage from libcrc32c.c
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
compliant equivalent. This patch allocates the appropriate amount of memory
using a char array using the SHASH_DESC_ON_STACK macro.
The new code can be compiled with both gcc and clang.
Signed-off-by: Jan-Simon Möller <[email protected]>
Signed-off-by: Behan Webster <[email protected]>
Reviewed-by: Mark Charlebois <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Cc: [email protected]
Cc: "David S. Miller" <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions