diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-26 21:06:48 +0100 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-09 01:39:04 +0200 |
commit | 2d5ffc2611f45de5ada90047c5d8723a3b33db38 (patch) | |
tree | a255f96540958161c1d4cfebbc2eebd6b221975f /drivers/scsi/ppa.c | |
parent | scsi: osst: mark expected switch fall-throughs (diff) | |
download | linux-2d5ffc2611f45de5ada90047c5d8723a3b33db38.tar.xz linux-2d5ffc2611f45de5ada90047c5d8723a3b33db38.zip |
scsi: ppa: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114988 ("Missing break in switch")
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/scsi/ppa.c')
-rw-r--r-- | drivers/scsi/ppa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.c index c182b5458f98..35213082e933 100644 --- a/drivers/scsi/ppa.c +++ b/drivers/scsi/ppa.c @@ -717,6 +717,7 @@ static int ppa_engine(ppa_struct *dev, struct scsi_cmnd *cmd) } cmd->SCp.phase++; } + /* fall through */ case 2: /* Phase 2 - We are now talking to the scsi bus */ if (!ppa_select(dev, scmd_id(cmd))) { |