diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-01-25 19:49:17 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-01-29 16:23:47 +0100 |
commit | 2b0fc3742bc77687f58d389c902ee092df6f8669 (patch) | |
tree | b04413c07be3e884239a9d27985d5e62e316b5b7 /arch/x86/mm | |
parent | x86/asm-prototypes: Remove duplicate include <asm/page.h> (diff) | |
download | linux-2b0fc3742bc77687f58d389c902ee092df6f8669.tar.xz linux-2b0fc3742bc77687f58d389c902ee092df6f8669.zip |
x86/events: Mark expected switch-case fall-throughs
In preparation to enable -Wimplicit-fallthrough by default, mark
switch-case statements where fall-through is intentional, explicitly in
order to fix a couple of -Wimplicit-fallthrough warnings.
Warning level 3 was used: -Wimplicit-fallthrough=3.
[ bp: Massasge and trim commit message. ]
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jacek Tomaka <jacek.tomaka@poczta.fm>
Cc: Jia Zhang <qianyue.zj@alibaba-inc.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190125184917.GA7289@embeddedor
Diffstat (limited to 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions