diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 21:31:36 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-12-09 19:08:59 +0300 |
commit | b6459575451769b0550621865d1ddb65afdb55a1 (patch) | |
tree | 2aca264fbb4f1c004a749f9054d43d6017d773b6 /COPYING | |
parent | e689b300c99ca2dd80d3f662e19499bba27cda09 (diff) | |
download | linux-b6459575451769b0550621865d1ddb65afdb55a1.tar.xz |
perf/x86: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a fallthrough pseudo-keyword as a replacement for
a /* fall through */ comment, instead of letting the code fall through
to the next case.
Notice that Clang doesn't recognize /* fall through */ comments as
implicit fall-through markings.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://github.com/KSPP/linux/issues/115
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions