Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-14 Thread Sachin Saxena (OSS)
Acked-by: Sachin Saxena On 6/10/2022 6:38 PM, David Marchand wrote: On Wed, May 18, 2022 at 12:17 PM David Marchand wrote: GCC 12 raises the following warning: ../drivers/net/enetfec/enet_ethdev.c: In function ‘enetfec_rx_queue_setup’: ../drivers/net/enetfec/enet_ethdev.c:473:9: err

Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-12 Thread Sachin Saxena (OSS)
Hello David, I understood and agree with your suggestion. We are using GCC 11.3 where we were not seeing this warning. We will fix this on priority and submit the patch asap. regards, Sachin Saxena On 6/10/2022 6:38 PM, David Marchand wrote: On Wed, May 18, 2022 at 12:17 PM David Marchand w

Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:50 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > ../drivers/net/enetfec/enet_ethdev.c: In function > ‘enetfec_rx_queue_setup’: > ../drivers/net/enetfec/enet_ethdev.c:473:9: error: array > subscript 1 is > above array bounds o

Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-10 Thread David Marchand
On Wed, May 18, 2022 at 12:17 PM David Marchand wrote: > > GCC 12 raises the following warning: > > ../drivers/net/enetfec/enet_ethdev.c: In function > ‘enetfec_rx_queue_setup’: > ../drivers/net/enetfec/enet_ethdev.c:473:9: error: array > subscript 1 is > above array bounds of