RE: [PATCH v2][next] net: atlantic: Avoid -Wflex-array-member-not-at-end warnings

From: Igor Russkikh
Date: Tue Feb 04 2025 - 09:01:40 EST


> -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: 
> Remove unused flexible-array member `buf` and, with this, fix the following

Thanks, Gustavo, for posting this.

Reviewed-by: Igor Russkikh <irusskikh@xxxxxxxxxxx>

Igor