devtools: ignore Linux-style fallthrough warning
authorAdrian Moreno <amorenoz@redhat.com>
Tue, 4 Aug 2020 07:38:37 +0000 (09:38 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 7 Aug 2020 11:33:54 +0000 (13:33 +0200)
commitfcea4c8e29b68959cebb0577ca6eebebc39e8eee
tree22dcd8846849b947dd228f3abe71c6eb5f3d302c
parent7539c73d96434a53c2ec4b8192e80472e2bcb40c
devtools: ignore Linux-style fallthrough warning

The PREFER_FALLTHROUGH check warns if a passthrough comment is found
because, in the kernel, the special macro "fallthrough" is preferred.

Since that keyword is not defined in DPDK, ignore the warning.

Ignoring this check does not affect the MISSING_BREAK check that will
warn if a switch case/default is not preceded by break or a fallthrough
comment.

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
devtools/checkpatches.sh