]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge branch 'uapi-net-ethtool-avoid-thousands-of-wflex-array-member-not-at-end-warnings'
authorJakub Kicinski <kuba@kernel.org>
Sun, 3 Nov 2024 19:07:01 +0000 (11:07 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 3 Nov 2024 19:07:02 +0000 (11:07 -0800)
Gustavo A. R. Silva says:

====================
UAPI: net/ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings

Small patch series aimed at fixing thousands of -Wflex-array-member-not-at-end
warnings by creating a new tagged struct within a flexible structure. We then
use this new struct type to fix problematic middle-flex-array declarations in
multiple composite structs, as well as to update the type of some variables in
various functions.

v1: https://lore.kernel.org/cover.1729536776.git.gustavoars@kernel.org
====================

Link: https://patch.msgid.link/cover.1730238285.git.gustavoars@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge