lkml.org 
[lkml]   [2016]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel/bpf/verifier.c: 4 * possible unintended fallthrough ?
On Tue, Dec 20, 2016 at 11:34 AM, David Binderman <dcb314@hotmail.com> 
wrote:
>
> Hello there,
>
>> From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
>> I've tried 4.9 and 5.2 and don't see this warning.
>
> As expected - I used a development version of gcc.
> Latest released version is 6.2
>
>> Is this 6.x gcc?
>
> 7.0 would be more accurate.
>
>> I suspect it will have such warnings all over the kernel.
>
> Indeed it has hundreds, but the subject under discussion is file
> kernel/bpf/verifier.c.
>
> I am still not sure if I have found a fallthrough bug or not.

You haven't, this is intended so is a useless warning. Thanks,

Josef

\
 
 \ /
  Last update: 2016-12-20 19:29    [W:0.041 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site