summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-04-04 23:18:00 +0200
committerBehan Webster <behanw@converseincode.com>2014-10-14 10:51:23 +0200
commit37e5265437a02e66e8c345f563241e79b4b7f087 (patch)
tree91676171d241de3ff3295c762899877da136272d /drivers/md/dm-crypt.c
parentcrypto: LLVMLinux: Remove VLAIS from crypto/omap_sham.c (diff)
downloadlinux-37e5265437a02e66e8c345f563241e79b4b7f087.tar.xz
linux-37e5265437a02e66e8c345f563241e79b4b7f087.zip
crypto: LLVMLinux: Remove VLAIS from crypto/.../qat_algs.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/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions