Re: [PATCH v4] mac80211: LLVMLinux: Remove VLAIS usage from mac80211

From: Johannes Berg
Date: Fri Mar 21 2014 - 07:59:50 EST


On Thu, 2014-03-20 at 23:39 -0700, behanw@xxxxxxxxxxxxxxxxxx wrote:
> From: Jan-Simon MÃller <dl9pf@xxxxxx>
>
> Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
> compliant equivalent. This is the original VLAIS struct.
>
> struct {
> struct aead_request req;
> u8 priv[crypto_aead_reqsize(tfm)];
> } aead_req;
>
> This patch instead allocates the appropriate amount of memory using an char
> array.
>
> The new code can be compiled with both gcc and clang.

Applied.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/