Files
linux/drivers
Gustavo A. R. Silva 355f6a292f mei: Avoid a bunch of -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end is coming in GCC-14, and we are getting
ready to enable it globally.

After commit 4029238364 ("mei: revamp mei extension header structure layout.")
it seems that flexible-array member `data` in `struct mei_ext_hdr` is no longer
needed. So, remove it and, with that, fix 45 of the following
-Wflex-array-member-not-at-end warnings[1] in drivers/misc/mei/:

drivers/misc/mei/hw.h:280:28: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]

Link: https://gist.github.com/GustavoARSilva/62dcc235555a6b29b506269edb83da0b [1]
Link: https://github.com/KSPP/linux/issues/202
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/ZgHYE2s5kBGlv1cw@neat
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-11 15:13:30 +02:00
..
2024-03-07 21:52:03 +00:00
2024-03-07 20:37:04 +00:00
2024-04-11 14:55:53 +02:00
2024-03-07 20:32:47 +00:00
2024-03-07 20:26:24 -08:00
2024-03-29 09:48:07 -04:00
2024-03-18 17:30:46 +00:00
2024-03-07 20:32:38 +00:00
2024-03-27 13:17:15 +01:00
2024-03-25 19:46:49 -07:00