Re: [dpdk-dev] [dpdk-stable] [PATCH] test/prefetch: fix build with GCC 11

2021-05-20 Thread Thomas Monjalon
20/05/2021 16:31, David Marchand: > On Thu, May 20, 2021 at 1:07 PM Kevin Traynor wrote: > > > > GCC 11 complains that 'a' is uninitialized. > > > > ../dpdk/app/test/test_prefetch.c: In function 'test_prefetch': > > ../dpdk/app/test/test_prefetch.c:25:9: > > error: 'a' may be used uninitialized [-

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/prefetch: fix build with GCC 11

2021-05-20 Thread David Marchand
On Thu, May 20, 2021 at 1:07 PM Kevin Traynor wrote: > > GCC 11 complains that 'a' is uninitialized. > > ../dpdk/app/test/test_prefetch.c: In function 'test_prefetch': > ../dpdk/app/test/test_prefetch.c:25:9: > error: 'a' may be used uninitialized [-Werror=maybe-uninitialized] >25 | rt