eth: ice: silence the GCC 12 array-bounds warning
authorJakub Kicinski <kuba@kernel.org>
Fri, 20 May 2022 19:56:04 +0000 (12:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 21:21:11 +0000 (22:21 +0100)
commit385bc51b41ea74a91545600cb3d731754372f75e
tree7bee413bb92a191671f66347e1bb87e86459629b
parent06da3e8f390aba135ae8808e9424e8a68e53d261
eth: ice: silence the GCC 12 array-bounds warning

GCC 12 gets upset because driver allocates partial
struct ice_aqc_sw_rules_elem buffers. The writes are
within bounds.

Silence these warnings for now, our build bot runs GCC 12
so we won't allow any new instances.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/Makefile