aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sym53c8xx_2
diff options
context:
space:
mode:
authorGustavo A. R. Silva2018-11-26 14:16:54 -0600
committerGustavo A. R. Silva2019-04-08 18:39:14 -0500
commit0779ad71aa087b18b0e8eb671ad487430f3211cd (patch)
treef9777dac411cc600e967a2c5f6511f2ce9acf4a3 /drivers/scsi/sym53c8xx_2
parent7c2901107d1a14e98f0943f530459cb0d15ddf1b (diff)
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.c1
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;