diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 12:39:36 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-12-02 12:59:47 -0500 |
commit | 8b185fc6e3fe5d16abcd2753f504d1c54134f03a (patch) | |
tree | 52b97ddcc036611b82f52878a383fbfbdfe8486e | |
parent | e9a7c7117103f6e8085ed3caecba6a1e6715e862 (diff) | |
download | linux-8b185fc6e3fe5d16abcd2753f504d1c54134f03a.tar.bz2 |
scsi: stex: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by
explicitly adding a break statement instead of letting the code fall
through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/20a7bcc10af2b762325c7078a4f472121a4fabc7.1605896060.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/stex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index d4f10c0d813c..40473e4f850f 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c @@ -685,6 +685,7 @@ stex_queuecommand_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) done(cmd); return 0; } + break; default: break; } |