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:
Родитель
7c2901107d
Коммит
0779ad71aa
|
@ -708,6 +708,7 @@ static int sym_read_Tekram_nvram (struct sym_device *np, Tekram_nvram *nvram)
|
||||||
data, len);
|
data, len);
|
||||||
if (!x)
|
if (!x)
|
||||||
break;
|
break;
|
||||||
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
x = sym_read_T93C46_nvram(np, nvram);
|
x = sym_read_T93C46_nvram(np, nvram);
|
||||||
break;
|
break;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче