wimax/i2400m: Remove VLAIS
authorBehan Webster <behanw@converseincode.com>
Mon, 9 Oct 2017 19:41:53 +0000 (12:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 19:35:05 +0000 (12:35 -0700)
commit365ff9df562889501964ab5ee9fb4ce700d1a8c0
tree687b68416c358a9d8d999f4cf0c3f7a81c306545
parentfbb1fb4ad415cb31ce944f65a5ca700aaf73a227
wimax/i2400m: Remove VLAIS

Convert Variable Length Array in Struct (VLAIS) to valid C by converting
local struct definition to use a flexible array. The structure is only
used to define a cast of a buffer so the size of the struct is not used
to allocate storage.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Mark Charebois <charlebm@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/fw.c