mbox series

[v3,0/2] build: add Wformat to fix gcc compile warnings and format fixes

Message ID 20201119101700.3869583-1-conor.walsh@intel.com (mailing list archive)
Headers show
Series build: add Wformat to fix gcc compile warnings and format fixes | expand

Message

Conor Walsh Nov. 19, 2020, 10:16 a.m. UTC
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 stable@dpdk.org 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(-)

Comments

Thomas Monjalon Nov. 22, 2020, 8:07 p.m. UTC | #1
19/11/2020 11:16, Conor Walsh:
> 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 stable@dpdk.org to cc list following list feedback

The Cc: stable@dpdk.org must be part of the commit log.
Please at other patches (and contributors guidelines) for inspiration.

Series applied, thanks.