From: Jan-Simon Möller Date: Thu, 4 Sep 2014 18:39:24 +0000 (+0200) Subject: crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.c X-Git-Tag: fixes-against-v3.18-rc2~66^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ded52438d5fdc4dea87f823c455f8ac1e426df;p=pandora-kernel.git crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.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 --- Reading git-diff-tree failed