summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/common.h
diff options
context:
space:
mode:
authorJan-Simon Möller <dl9pf@gmx.de>2014-03-20 23:39:32 -0700
committerJohannes Berg <johannes.berg@intel.com>2014-04-09 10:55:27 +0200
commit6e1ee5d2e9e411892b5d84e3ea93e3fc88ac786c (patch)
tree93074ed6ad707806bee7aa749e0ffae80f96168f /drivers/net/wireless/iwlegacy/common.h
parentcd6362befe4cc7bf589a5236d2a780af2d47bcc9 (diff)
downloadop-kernel-dev-6e1ee5d2e9e411892b5d84e3ea93e3fc88ac786c.zip
op-kernel-dev-6e1ee5d2e9e411892b5d84e3ea93e3fc88ac786c.tar.gz
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 <dl9pf@gmx.de> Signed-off-by: Behan Webster <behanw@converseincode.com> [small style cleanups] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud