Skip to content

fix build with option -O1

Thomas Monjalon dpdk-dev 1 version Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5eal: fix build with -O1lib/librte_eal/common/include/rte_common.h+0 -90 replies
2/5kni: fix possible uninitialized variablelib/librte_kni/rte_kni.c+1 -10 replies
3/5net/mlx4: fix possible uninitialized variabledrivers/net/mlx4/mlx4_ethdev.c+2 -00 replies
4/5eventdev: fix possible uninitialized variablelib/librte_eventdev/rte_event_eth_tx_adapter.c+1 -10 replies
5/5app/eventdev: fix possible uninitialized variableapp/test-eventdev/test_pipeline_common.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] fix build with option -O1

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(-)
Signature · 1 line
2.19.0