[lkml]   [2019]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] afs: Mark expected switch fall-throughs
On Tue, Apr 9, 2019 at 2:28 AM David Howells <> wrote:
> Kees Cook <> wrote:
> > These look good to me. Gets us another step to finishing this. :)
> Can we fix the compiler, please, to say that *every* case (perhaps barring the
> last) is expected to fall through?

Right now we're targeting both compilers and static analyzers. Neither
support this kind of marking, unfortunately. We can, however,
mechanically change this in the future if that becomes possible.

Kees Cook

 \ /
  Last update: 2019-04-09 17:19    [W:0.061 / U:1.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site