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

2014-03-21 Thread Johannes Berg
On Thu, 2014-03-20 at 23:39 -0700, beh...@converseincode.com wrote:
> From: Jan-Simon Möller 
> 
> 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 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/


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

2014-03-21 Thread Johannes Berg
On Thu, 2014-03-20 at 23:39 -0700, beh...@converseincode.com wrote:
 From: Jan-Simon Möller dl...@gmx.de
 
 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 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/