aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-11-20 18:31:36 +0000
committerPeter Zijlstra <[email protected]>2020-12-09 16:08:59 +0000
commitb6459575451769b0550621865d1ddb65afdb55a1 (patch)
tree2aca264fbb4f1c004a749f9054d43d6017d773b6 /scripts/gcc-plugins/structleak_plugin.c
parentkprobes/x86: Fix fall-through warnings for Clang (diff)
downloadkernel-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