Commit f1a54cdd authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c2ccd8c
...@@ -446,8 +446,10 @@ xpc_discovery(void) ...@@ -446,8 +446,10 @@ xpc_discovery(void)
switch (region_size) { switch (region_size) {
case 128: case 128:
max_regions *= 2; max_regions *= 2;
/* fall through */
case 64: case 64:
max_regions *= 2; max_regions *= 2;
/* fall through */
case 32: case 32:
max_regions *= 2; max_regions *= 2;
region_size = 16; region_size = 16;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment