diff options
| author | Gustavo A. R. Silva <[email protected]> | 2025-02-04 02:54:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-06 02:16:30 +0000 |
| commit | 863257c29fe9c882b21fe5d1596081ef55c4875a (patch) | |
| tree | 5564878b2d13b45e19a8091677048b6c936d3bd1 /drivers/fpga/altera-fpga2sdram.c | |
| parent | bridge: mdb: Allow replace of a host-joined group (diff) | |
| download | kernel-863257c29fe9c882b21fe5d1596081ef55c4875a.tar.gz kernel-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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Link: https://patch.msgid.link/Z6GBZ4brXYffLkt_@kspp
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
