diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-11-20 18:31:36 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-12-09 16:08:59 +0000 |
| commit | b6459575451769b0550621865d1ddb65afdb55a1 (patch) | |
| tree | 2aca264fbb4f1c004a749f9054d43d6017d773b6 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | kprobes/x86: Fix fall-through warnings for Clang (diff) | |
| download | kernel-b6459575451769b0550621865d1ddb65afdb55a1.tar.gz kernel-b6459575451769b0550621865d1ddb65afdb55a1.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://github.com/KSPP/linux/issues/115
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
