build: allow stricter fallthrough warnings
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 7 Oct 2019 14:30:10 +0000 (15:30 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 23 Oct 2019 23:02:30 +0000 (01:02 +0200)
commit47cce54ba8539d6a7569ecb9a4fbcddadc93c7a8
tree96e206bd4b2f99f5342f9a6421c913ddf06fdf64
parent6f80f1cd2247f5afe98cd0a964bc9218a2b2e8d1
build: allow stricter fallthrough warnings

DPDK currently compiles with implicit-fallthrough=2 warning level. With gcc
-Wextra flag, the default level is 3, so some minor changes are needed to
support this in DPDK.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/fm10k/base/meson.build
lib/librte_cmdline/cmdline_parse_num.c