From: Jan-Simon Möller Date: Fri, 21 Mar 2014 06:39:32 +0000 (-0700) Subject: mac80211: remove VLAIS usage from mac80211 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e1ee5d2e9e411892b5d84e3ea93e3fc88ac786c;p=pandora-kernel.git mac80211: remove VLAIS usage from mac80211 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 a char array. The new code can be compiled with both gcc and clang. Signed-off-by: Jan-Simon Möller Signed-off-by: Behan Webster [small style cleanups] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed