========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/broadcom/genet/bcmgenet.c:2311:35: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] 2311 | struct bcmgenet_tx_ring *ring = &priv->tx_rings[DESC_INDEX]; | ^ ~~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmgenet.h:614:2: note: array 'tx_rings' declared here 614 | struct bcmgenet_tx_ring tx_rings[GENET_MAX_MQ_CNT + 1]; | ^ 1 warning generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/broadcom/genet/bcmgenet.c:2375:14: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] 2375 | tx_ring = &priv->tx_rings[DESC_INDEX]; | ^ ~~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmgenet.h:614:2: note: array 'tx_rings' declared here 614 | struct bcmgenet_tx_ring tx_rings[GENET_MAX_MQ_CNT + 1]; | ^ ../drivers/net/ethernet/broadcom/genet/bcmgenet.c:3954:35: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] 3954 | struct bcmgenet_tx_ring *ring = &priv->tx_rings[DESC_INDEX]; | ^ ~~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmgenet.h:614:2: note: array 'tx_rings' declared here 614 | struct bcmgenet_tx_ring tx_rings[GENET_MAX_MQ_CNT + 1]; | ^ 2 warnings generated. New errors added --- /tmp/tmp.1tZvyWL7rw 2026-03-13 05:48:16.602870837 -0400 +++ /tmp/tmp.tvJ0Tytw8G 2026-03-13 05:48:51.814579190 -0400 @@ -2,2 +2,8 @@ -../drivers/net/ethernet/broadcom/genet/bcmgenet.c:2311:35: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] - 2311 | struct bcmgenet_tx_ring *ring = &priv->tx_rings[DESC_INDEX]; +../drivers/net/ethernet/broadcom/genet/bcmgenet.c:2375:14: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] + 2375 | tx_ring = &priv->tx_rings[DESC_INDEX]; + | ^ ~~~~~~~~~~ +../drivers/net/ethernet/broadcom/genet/bcmgenet.h:614:2: note: array 'tx_rings' declared here + 614 | struct bcmgenet_tx_ring tx_rings[GENET_MAX_MQ_CNT + 1]; + | ^ +../drivers/net/ethernet/broadcom/genet/bcmgenet.c:3954:35: warning: array index 16 is past the end of the array (that has type 'struct bcmgenet_tx_ring[5]') [-Warray-bounds] + 3954 | struct bcmgenet_tx_ring *ring = &priv->tx_rings[DESC_INDEX]; @@ -8 +14 @@ -1 warning generated. +2 warnings generated. Per-file breakdown --- /tmp/tmp.EDzzRABrC0 2026-03-13 05:49:16.895371454 -0400 +++ /tmp/tmp.9AUcS2D3f0 2026-03-13 05:49:16.896371446 -0400 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/broadcom/genet/bcmgenet.c + 2 ../drivers/net/ethernet/broadcom/genet/bcmgenet.c