diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-26 14:16:54 -0600 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-08 18:39:14 -0500 |
commit | 0779ad71aa087b18b0e8eb671ad487430f3211cd (patch) | |
tree | f9777dac411cc600e967a2c5f6511f2ce9acf4a3 /drivers/scsi/sym53c8xx_2 | |
parent | 7c2901107d1a14e98f0943f530459cb0d15ddf1b (diff) | |
download | linux-0779ad71aa087b18b0e8eb671ad487430f3211cd.tar.bz2 |
scsi: sym53c8xx_2: sym_nvram: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_nvram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_nvram.c b/drivers/scsi/sym53c8xx_2/sym_nvram.c index 5662fbb3ff60..0d37b4f07b5e 100644 --- a/drivers/scsi/sym53c8xx_2/sym_nvram.c +++ b/drivers/scsi/sym53c8xx_2/sym_nvram.c @@ -708,6 +708,7 @@ static int sym_read_Tekram_nvram (struct sym_device *np, Tekram_nvram *nvram) data, len); if (!x) break; + /* fall through */ default: x = sym_read_T93C46_nvram(np, nvram); break; |