Skip to content

Fixes for clang 15

David Marchand dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11service: fix build with clang 15lib/eal/common/rte_service.c+0 -21 reply
2/11vhost: fix build with clang 15lib/vhost/virtio_net.c+0 -21 reply
3/11bus/dpaa: fix build with clang 15drivers/bus/dpaa/base/qbman/bman.h+1 -30 replies
4/11net/atlantic: fix build with clang 15drivers/net/atlantic/atl_rxtx.c+2 -30 replies
5/11net/dpaa2: fix build with clang 15drivers/net/dpaa2/dpaa2_rxtx.c+1 -30 replies
6/11net/ice: fix build with clang 15drivers/net/ice/ice_ddp_package.c+0 -30 replies
7/11app/testpmd: fix build with clang 15app/test-pmd/noisy_vnf.c+1 -10 replies
8/11app/testpmd: fix build with clang 15 in flow codeapp/test-pmd/config.c+0 -140 replies
9/11test/efd: fix build with clang 15app/test/test_efd_perf.c+0 -10 replies
10/11test/member: fix build with clang 15app/test/test_member.c app/test/test_member_perf.c+0 -20 replies
11/11test/event: fix build with clang 15app/test/test_event_timer_adapter.c+0 -21 reply

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchMaxime CoquelinHarry van HaarenDaxue Gao
1/11A-b
2/11R-b
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/11] Fixes for clang 15

Fedora 37 has just been released with clang 15.
The latter seems more picky wrt unused variable.

Fixes have been tested in GHA with a simple patch I used in my own repo:
https://github.com/david-marchand/dpdk/commit/82cd57ae5490
https://github.com/david-marchand/dpdk/actions/runs/3495454457

Signature · 31 lines
David Marchand

David Marchand (11):
  service: fix build with clang 15
  vhost: fix build with clang 15
  bus/dpaa: fix build with clang 15
  net/atlantic: fix build with clang 15
  net/dpaa2: fix build with clang 15
  net/ice: fix build with clang 15
  app/testpmd: fix build with clang 15
  app/testpmd: fix build with clang 15 in flow code
  test/efd: fix build with clang 15
  test/member: fix build with clang 15
  test/event: fix build with clang 15

 app/test-pmd/config.c               | 14 --------------
 app/test-pmd/noisy_vnf.c            |  2 +-
 app/test/test_efd_perf.c            |  1 -
 app/test/test_event_timer_adapter.c |  2 --
 app/test/test_member.c              |  1 -
 app/test/test_member_perf.c         |  1 -
 drivers/bus/dpaa/base/qbman/bman.h  |  4 +---
 drivers/net/atlantic/atl_rxtx.c     |  5 ++---
 drivers/net/dpaa2/dpaa2_rxtx.c      |  4 +---
 drivers/net/ice/ice_ddp_package.c   |  3 ---
 lib/eal/common/rte_service.c        |  2 --
 lib/vhost/virtio_net.c              |  2 --
 12 files changed, 5 insertions(+), 36 deletions(-)

-- 
2.38.1