On Thu, Oct 17, 2019 at 2:10 PM <pbhagavat...@marvell.com> wrote: > > From: Pavan Nikhilesh <pbhagavat...@marvell.com> > > Use RTE_DIM instead of re-defining ARRAY_SIZE. > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com> > Acked-by: Gage Eads <gage.e...@intel.com>
Applied, thanks. I had a similar patch in store :-). If you want to continue on this topic, look at other files in app/test: $ git grep -l sizeof.*sizeof.*\\[ app/test app/test/test.c app/test/test_cmdline_etheraddr.c app/test/test_cmdline_ipaddr.c app/test/test_cmdline_num.c app/test/test_cmdline_portlist.c app/test/test_cmdline_string.c app/test/test_debug.c app/test/test_eal_flags.c app/test/test_errno.c app/test/test_lpm.c app/test/test_lpm6.c app/test/test_lpm6_data.h app/test/test_malloc.c app/test/test_memcpy.c app/test/test_memcpy_perf.c app/test/test_mp_secondary.c app/test/test_pdump.c app/test/test_pmd_ring_perf.c app/test/test_ring_perf.c app/test/test_timer_secondary.c -- David Marchand