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

GCC 12 gets upset because in mtk_foe_entry_commit_subflow()
this driver allocates a partial structure. 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/mediatek/Makefile