Skip to content

build: add Wformat to fix gcc compile warnings and format fixes

Conor Walsh dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v22 patches 2 repliesSuperseded

v2 from the cover letter

- expand explaination of patches
- suppress false postives in icc
- add fixes for format issues

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2build: fix gcc compile warnings by adding wformatconfig/meson.build+2 -11 reply
2/2net/bnxt: fix format characters for unsigned valuesdrivers/net/bnxt/tf_core/tf_core.c+4 -41 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChen, LingliXAjit Khaparde
1/2T-b T-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/2] build: add Wformat to fix gcc compile warnings and format fixes

On some systems Wformat-nonliteral and Wformat-security could not be checked without Wformat also being specified this causes a compile warning on these systems. This patchset adds Wformat to config/meson.build and fixes some format issues that this exposed.

---

v3: add [email protected] to cc list following list feedback

v2:
- expand explaination of patches
- suppress false postives in icc
- add fixes for format issues

Conor Walsh (2):
build: fix gcc compile warnings by adding wformat net/bnxt: fix format characters for unsigned values

 config/meson.build                 | 3 ++-
 drivers/net/bnxt/tf_core/tf_core.c | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1