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

2021-05-18 Thread Kevin Traynor
On 18/05/2021 09:55, Thomas Monjalon wrote: > 17/05/2021 17:57, Ferruh Yigit: >> Build error: >> ../app/test/test_table_tables.c: In function ‘test_table_stub’: >> ../app/test/test_table_tables.c:31:9: >> warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] >> [-Warray-bounds] >>

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

2021-05-18 Thread Thomas Monjalon
17/05/2021 17:57, Ferruh Yigit: > Build error: > ../app/test/test_table_tables.c: In function ‘test_table_stub’: > ../app/test/test_table_tables.c:31:9: > warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] > [-Warray-bounds] > memset((uint8_t *)mbuf + sizeof(struct rt

[dpdk-dev] [PATCH] test/table: fix build with GCC 11

2021-05-17 Thread Ferruh Yigit
Build error: ../app/test/test_table_tables.c: In function ‘test_table_stub’: ../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds] memset((uint8_t *)mbuf + sizeof(struct rte_mbuf) + 32, 0, 32); \ ^~~