[dpdk-dev] [PATCH] devtools: ignore PREFER_FALLTHROUGH

Ferruh Yigit ferruh.yigit at intel.com
Tue Aug 4 09:43:29 CEST 2020


On 8/4/2020 8:38 AM, Adrian Moreno wrote:
> The PREFER_FALLTHROUGH check warns if a passthrough comment is found
> because, in the kernel, the special macro "fallthrough" is prefered.
> 
> 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 at redhat.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list