summaryrefslogtreecommitdiff
path: root/drivers/ras
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-04-05 01:18:00 +0400
committerBehan Webster <behanw@converseincode.com>2014-10-14 12:51:23 +0400
commit7bc53c3f9ac8c0d6b6ffa92b4b7493576233e78e (patch)
tree9505fdcacf1bc7824f1c45cea5c1e61bfc3a8163 /drivers/ras
parentce1f3e47d9d11ffde75d06170304dc9ff2afe0c6 (diff)
downloadlinux-7bc53c3f9ac8c0d6b6ffa92b4b7493576233e78e.tar.xz
crypto: LLVMLinux: Remove VLAIS from crypto/omap_sham.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: Behan Webster <behanw@converseincode.com> Reviewed-by: Mark Charlebois <charlebm@gmail.com> Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions