summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustavo A. R. Silva2018-11-26 19:31:53 +0100
committerGustavo A. R. Silva2019-04-09 01:37:37 +0200
commit9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac (patch)
tree223c1043c779ebe6d2b860ba8c74b376820707d4 /Makefile
parentscsi: csiostor: csio_wr: mark expected switch fall-through (diff)
downloadkernel-qcow2-linux-9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac.tar.gz
kernel-qcow2-linux-9fa29a670bb8e887b40e95d4ce79a8e0d21d47ac.tar.xz
kernel-qcow2-linux-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 <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions