wifi: mwifiex: fix array of flexible structures warnings
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:07 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Thu, 22 Sep 2022 06:08:53 +0000 (09:08 +0300)
commit4cf4cf6eb0bfceae2f61a7a724d576684f788ea6
tree445ac74dfedc2817ec19efbd6a2a3ceb1eda8ca0
parentc70a9d6783cf51cbd7c3241fec6a5ac24d99b79d
wifi: mwifiex: fix array of flexible structures warnings

There are two, just change them to have a "u8 data[]" type
member, and add casts where needed. No binary changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.2c885310ebee.If7177ea588b56c405eee6e6df595e9efccdfb99a@changeid
drivers/net/wireless/marvell/mwifiex/fw.h
drivers/net/wireless/marvell/mwifiex/sta_cmd.c