1
0
Fork 0

sgi-xp: xpc_partition: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Gustavo A. R. Silva 2018-07-03 17:43:43 -05:00 committed by Greg Kroah-Hartman
parent 0c2ccd8cd1
commit f1a54cddbb
1 changed files with 2 additions and 0 deletions

View File

@ -446,8 +446,10 @@ xpc_discovery(void)
switch (region_size) {
case 128:
max_regions *= 2;
/* fall through */
case 64:
max_regions *= 2;
/* fall through */
case 32:
max_regions *= 2;
region_size = 16;