diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-26 12:31:53 -0600 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-08 18:37:37 -0500 |
commit | 9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac (patch) | |
tree | 223c1043c779ebe6d2b860ba8c74b376820707d4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1f7716373901768afa504638a34221236dfb708c (diff) |
scsi: imm: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Notice that, in this particular case, I placed all the "Phase N - ..."
comments on the same line as its corresponding switch case. The same
way in which similar comments appear in drivers/scsi/ppa.c. This makes
it possible to place the "fall through" annotations at the bottom of
each switch case, which is what GCC is expecting to find.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions