diff options
author | 2020-11-20 12:27:30 -0600 | |
---|---|---|
committer | 2020-12-02 12:59:46 -0500 | |
commit | 4c7bd259d66c9f94d3937bce3de5f16a8fd812a1 (patch) | |
tree | 8f06e9108dc8457680d75c378f18a67af7124847 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: aic94xx: Fix fall-through warnings for Clang (diff) | |
download | wireguard-linux-4c7bd259d66c9f94d3937bce3de5f16a8fd812a1.tar.xz wireguard-linux-4c7bd259d66c9f94d3937bce3de5f16a8fd812a1.zip |
scsi: bfa: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding a couple break statements and replacing /*
fall through */ comments with the new pseudo-keyword macro fallthrough;
instead of just letting the code fall through to the next case.
Notice that Clang doesn't recognize /* fall through */ comments as implicit
fall-through markings.
Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/2ae1cafd858238b85fc5e7fe5cc183843e21ec9f.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions