[dpdk-dev] [PATCH 3/3] net/ena: fix build for O1 optimization

2020-05-07 Thread Ferruh Yigit
Can be reproduced with "make EXTRA_CFLAGS='-O1'" command using gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) Build error: .../drivers/net/ena/ena_ethdev.c: In function ‘eth_ena_dev_init’: .../drivers/net/ena/ena_ethdev.c:1815:20: error: ‘wd_state’ may be used uninitialized in this function

Re: [dpdk-dev] [PATCH 3/3] net/ena: fix build for O1 optimization

2020-05-08 Thread Michał Krawczyk
czw., 7 maj 2020 o 14:03 Ferruh Yigit napisał(a): > > Can be reproduced with "make EXTRA_CFLAGS='-O1'" command using > gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) > > Build error: > .../drivers/net/ena/ena_ethdev.c: In function ‘eth_ena_dev_init’: > .../drivers/net/ena/ena_ethdev.c:1815:20: > e