diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-11-26 18:31:53 +0000 |
|---|---|---|
| committer | Gustavo A. R. Silva <[email protected]> | 2019-04-08 23:37:37 +0000 |
| commit | 9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac (patch) | |
| tree | 223c1043c779ebe6d2b860ba8c74b376820707d4 /lib/zstd/compress.c | |
| parent | scsi: csiostor: csio_wr: mark expected switch fall-through (diff) | |
| download | kernel-9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac.tar.gz kernel-9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac.zip | |
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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Diffstat (limited to 'lib/zstd/compress.c')
0 files changed, 0 insertions, 0 deletions
