scsi: sym53c8xx_2: sym_nvram: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 26 Nov 2018 20:16:54 +0000 (14:16 -0600)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 8 Apr 2019 23:39:14 +0000 (18:39 -0500)
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>
drivers/scsi/sym53c8xx_2/sym_nvram.c

index 5662fbb3ff60d40dd12e14cfcdd104400e4d2123..0d37b4f07b5e15b716f0d6292b0564c246870247 100644 (file)
@@ -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;