Skip to content

fix warnings with gcc 9 on Fedora 30

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4net/ixgbe: fix warning with GCC 9 on Fedora 30drivers/net/ixgbe/ixgbe_rxtx.c+1 -11 reply
2/4bus/fslmc: fix printf of null pointerdrivers/bus/fslmc/fslmc_bus.c+1 -11 reply
3/4raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30drivers/raw/skeleton_rawdev/skeleton_rawdev.c+5 -01 reply
4/4raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c+2 -01 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchDavid Marchand
1/4T-b
2/4
3/4T-b
4/4T-b

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

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30

This set of changes fixes warnings seen when compiling DPDK on Fedora 30. In most cases these warnings appear to be false positives, which means we have the option to just disable the warning. Because the changes required to the code to silence the warnings are fairly small I've chosen in all cases to change the code rather than disable the warnings, but I'm open to doing the opposite if it's felt it's a better solution. [One thing I didn't like about disabling the warnings is that the disabling flags are not supported by clang, so adding them involves compiler checks :-(]

NOTE: this set does not cover all warnings with GCC9, but it does cover those seen when building with meson. There is still one warning disable flag needed when building with make, which will need a follow-on set to fix.

Bruce Richardson (4):
net/ixgbe: fix warning with GCC 9 on Fedora 30 bus/fslmc: fix printf of null pointer raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30

 drivers/bus/fslmc/fslmc_bus.c                 | 2 +-
 drivers/net/ixgbe/ixgbe_rxtx.c                | 2 +-
 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c         | 2 ++
 drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++
 4 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.21.0