Thread (1 message) 1 message, 1 author, 2014-03-21

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

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-03-21 11:59:41
Also in: linux-wireless, lkml

On Thu, 2014-03-20 at 23:39 -0700, behanw@converseincode.com wrote:
From: Jan-Simon Möller <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help