On 09/15/2014 03:30 AM, [email protected] wrote: > From: Vinícius Tinti <[email protected]> > > Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 > compliant equivalent. This is the original VLAIS struct. > > struct { > struct shash_desc shash; > char ctx[crypto_shash_descsize(tfm)]; > } desc; > > This patch instead 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: Vinícius Tinti <[email protected]> > Reviewed-by: Jan-Simon Möller <[email protected]> > Reviewed-by: Mark Charlebois <[email protected]> > Signed-off-by: Behan Webster <[email protected]> > Cc: "David S. Miller" <[email protected]> > Cc: Herbert Xu <[email protected]>
Acked-by: Chris Mason <[email protected]> On the btrfs bits. Thanks for the v3. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

