diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-30 23:05:49 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 16:54:13 +0100 |
commit | 89976005536c47a788bdd6cef5a4e9fef3c0de32 (patch) | |
tree | 757208d8912f27c2d267af779d0a90d7cf386016 /scripts/checkpatch.pl | |
parent | lib/kstrtox.c: delete unnecessary casts (diff) | |
download | linux-89976005536c47a788bdd6cef5a4e9fef3c0de32.tar.xz linux-89976005536c47a788bdd6cef5a4e9fef3c0de32.zip |
include/linux/compat.h: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where
we are expecting to fall through.
Link: http://lkml.kernel.org/r/20181013115048.GA3262@embeddedor.com
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions