On Thu, May 20, 2021 at 1:07 PM Kevin Traynor <ktray...@redhat.com> 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 | rte_prefetch0(&a); > | ^~~~~~~~~~~~~~~~~ > > Fix by initializing 'a'. > > Bugzilla ID: 714 > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Reported-by: Ali Alnubani <alia...@nvidia.com> > Signed-off-by: Kevin Traynor <ktray...@redhat.com>
Reviewed-by: David Marchand <david.march...@redhat.com> -- David Marchand