Re: [PATCH 2/2] bpf: annotate implicit fall through

2019-01-15 Thread Daniel Borkmann
On 01/15/2019 10:03 AM, Sergei Shtylyov wrote: > On 14.01.2019 23:29, Mathieu Malaterre wrote: > >> There is a plan to build the kernel with -Wimplicit-fallthrough and >> thise place in the code produced a warnings (W=1). > >    This? > >> In this particular case change a ‘:’ with a ‘,’ so as to

Re: [PATCH 2/2] bpf: annotate implicit fall through

2019-01-15 Thread Sergei Shtylyov
On 14.01.2019 23:29, Mathieu Malaterre wrote: There is a plan to build the kernel with -Wimplicit-fallthrough and thise place in the code produced a warnings (W=1). This? In this particular case change a ‘:’ with a ‘,’ so as to match the regular expression expected by GCC. This commit re

[PATCH 2/2] bpf: annotate implicit fall through

2019-01-14 Thread Mathieu Malaterre
There is a plan to build the kernel with -Wimplicit-fallthrough and thise place in the code produced a warnings (W=1). In this particular case change a ‘:’ with a ‘,’ so as to match the regular expression expected by GCC. This commit remove the following warning: net/core/filter.c:5310:6: warn