linux-loongson/drivers/net/ethernet/aquantia/atlantic/hw_atl
Gustavo A. R. Silva 33b565fa2b net: atlantic: Avoid -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.

Remove unused flexible-array member `buf` and, with this, fix the following
warnings:
drivers/net/ethernet/aquantia/atlantic/aq_hw.h:197:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:197:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]

Suggested-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Igor Russkikh <irusskikh@marvell.com>
Link: https://patch.msgid.link/Z6F3KZVfnAZ2FoJm@kspp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-04 18:00:25 -08:00
..
hw_atl_a0_internal.h
hw_atl_a0.c net: atlantic: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY 2024-04-25 12:53:31 -05:00
hw_atl_a0.h
hw_atl_b0_internal.h
hw_atl_b0.c net: atlantic: support reading SFP module info 2024-10-22 17:43:40 -05:00
hw_atl_b0.h
hw_atl_llh_internal.h net: atlantic: support reading SFP module info 2024-10-22 17:43:40 -05:00
hw_atl_llh.c net: atlantic: support reading SFP module info 2024-10-22 17:43:40 -05:00
hw_atl_llh.h net: atlantic: support reading SFP module info 2024-10-22 17:43:40 -05:00
hw_atl_utils_fw2x.c atlatnic: enable Nbase-t speeds with base-t 2021-11-29 14:24:21 +00:00
hw_atl_utils.c atlantic: Fix statistics logic for production hardware 2021-11-29 14:24:22 +00:00
hw_atl_utils.h net: atlantic: Avoid -Wflex-array-member-not-at-end warnings 2025-02-04 18:00:25 -08:00