From: Jan-Simon Möller Date: Mon, 2 Jul 2012 11:50:54 +0000 (+0200) Subject: crypto, dm: LLVMLinux: Remove VLAIS usage from dm-crypt X-Git-Tag: fixes-against-v3.18-rc2~66^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b610626523cf5c780bf7d9746580c323e90580e6;p=pandora-kernel.git crypto, dm: LLVMLinux: Remove VLAIS usage from dm-crypt 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: gmazyland@gmail.com Cc: "David S. Miller" --- Reading git-diff-tree failed