wifi: ipw2x00: fix array of flexible structures warnings
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:02 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Thu, 22 Sep 2022 06:08:52 +0000 (09:08 +0300)
commit28255dd9a8deb0cb73498d4770d1f5242fa498c8
treeb76a311fb817d991c5e3bb2d320ae493172dacbf
parent551e4745c7f218da7070b36a06318592913676ff
wifi: ipw2x00: fix array of flexible structures warnings

There are a number of these here, fix them by using
appropriate casts. No binary changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.645346411660.I471e8fadce54ea262920828f25b8e84545bcd07e@changeid
drivers/net/wireless/intel/ipw2x00/libipw.h
drivers/net/wireless/intel/ipw2x00/libipw_rx.c