scsi: mpi3mr: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 4 Jun 2021 02:35:30 +0000 (21:35 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Jun 2021 02:23:46 +0000 (22:23 -0400)
commit7b8a49881b0157022c7deed1b5950a8a4d5dd095
tree81395d0aaf4629e84f2667d516c9ba020ecc7893
parent61f4f11b48f9b0cd36e88825d5a59d5fda7ec957
scsi: mpi3mr: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a
fall-through warning by explicitly adding a break statement instead of just
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/20210604023530.GA180997@embeddedor
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpi3mr/mpi3mr_os.c