[dpdk-dev] [PATCH 0/5] fix build with option -O1

Thomas Monjalon thomas at monjalon.net
Fri Nov 16 17:58:49 CET 2018


When trying to compile with -O1, the compiler
shows some errors. Some are justified, others look like
compiler bug. Anyway, it's better to fix all of them.


Thomas Monjalon (5):
  eal: fix build with -O1
  kni: fix possible uninitialized variable
  net/mlx4: fix possible uninitialized variable
  eventdev: fix possible uninitialized variable
  app/eventdev: fix possible uninitialized variable

 app/test-eventdev/test_pipeline_common.c       | 2 +-
 drivers/net/mlx4/mlx4_ethdev.c                 | 2 ++
 lib/librte_eal/common/include/rte_common.h     | 9 ---------
 lib/librte_eventdev/rte_event_eth_tx_adapter.c | 2 +-
 lib/librte_kni/rte_kni.c                       | 2 +-
 5 files changed, 5 insertions(+), 12 deletions(-)

-- 
2.19.0



More information about the dev mailing list