From 7bc53c3f9ac8c0d6b6ffa92b4b7493576233e78e Mon Sep 17 00:00:00 2001 From: Behan Webster Date: Fri, 4 Apr 2014 18:18:00 -0300 Subject: [PATCH] crypto: LLVMLinux: Remove VLAIS from crypto/omap_sham.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: Behan Webster Reviewed-by: Mark Charlebois Reviewed-by: Jan-Simon Möller Acked-by: Herbert Xu --- Reading git-format-patch failed