On 09/15/2014 03:30 AM, beh...@converseincode.com wrote:
> From: Vinícius Tinti <viniciusti...@gmail.com>
> 
> 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 <viniciusti...@gmail.com>
> Reviewed-by: Jan-Simon Möller <dl...@gmx.de>
> Reviewed-by: Mark Charlebois <charl...@gmail.com>
> Signed-off-by: Behan Webster <beh...@converseincode.com>
> Cc: "David S. Miller" <da...@davemloft.net>
> Cc: Herbert Xu <herb...@gondor.apana.org.au>

Acked-by: Chris Mason <c...@fb.com>

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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to