diff options
author | 2025-02-04 13:24:31 +1030 | |
---|---|---|
committer | 2025-02-05 18:16:30 -0800 | |
commit | 863257c29fe9c882b21fe5d1596081ef55c4875a (patch) | |
tree | 5564878b2d13b45e19a8091677048b6c936d3bd1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bridge: mdb: Allow replace of a host-joined group (diff) | |
download | wireguard-linux-863257c29fe9c882b21fe5d1596081ef55c4875a.tar.xz wireguard-linux-863257c29fe9c882b21fe5d1596081ef55c4875a.zip |
cxgb4: Avoid a -Wflex-array-member-not-at-end warning
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Move the conflicting declaration to the end of the structure. Notice
that `struct ethtool_dump` is a flexible structure --a structure that
contains a flexible-array member.
Fix the following warning:
./drivers/net/ethernet/chelsio/cxgb4/cxgb4.h:1215:29: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://patch.msgid.link/Z6GBZ4brXYffLkt_@kspp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions