From: Jan-Simon Möller Date: Mon, 2 Jul 2012 10:54:28 +0000 (+0200) Subject: crypto: LLVMLinux: Remove VLAIS usage from libcrc32c.c X-Git-Tag: fixes-against-v3.18-rc2~66^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0e0de69fc413aa80dbf1ec1fb9702ea1b6faca;p=pandora-kernel.git 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 Signed-off-by: Behan Webster Reviewed-by: Mark Charlebois Acked-by: Herbert Xu Cc: pageexec@freemail.hu Cc: "David S. Miller" --- Reading git-diff-tree failed