Re: [dpdk-dev] [PATCH v2 2/4] net/bnx2x: fix build with gcc11

2021-05-11 Thread Kevin Traynor
On 11/05/2021 12:44, Ferruh Yigit wrote: > Reproduced with '--buildtype=debugoptimized' config, > compiler version: gcc (GCC) 12.0.0 20210509 (experimental) > > Build error: > In file included from ../drivers/net/bnx2x/bnx2x.c:16: > ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_hc_ack_sb’: > ..

[dpdk-dev] [PATCH v2 2/4] net/bnx2x: fix build with gcc11

2021-05-11 Thread Ferruh Yigit
Reproduced with '--buildtype=debugoptimized' config, compiler version: gcc (GCC) 12.0.0 20210509 (experimental) Build error: In file included from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_hc_ack_sb’: ../drivers/net/bnx2x/bnx2x.h:1528:35: warning: ‘