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>
This commit is contained in:
parent
7c2901107d
commit
0779ad71aa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue