diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-04 01:43:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 18:38:57 +0300 |
commit | f1a54cddbbc36ebf1e8ce10a3e1fa5f8a4ce9613 (patch) | |
tree | 16fb66ece0e3a9d4a0f36027bcf30b2545a7540f /drivers/misc | |
parent | 0c2ccd8cd1436d79010354029f43e4d167f1d755 (diff) | |
download | linux-f1a54cddbbc36ebf1e8ce10a3e1fa5f8a4ce9613.tar.xz |
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_partition.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xpc_partition.c b/drivers/misc/sgi-xp/xpc_partition.c index 4e59b01ad7eb..0c3ef6f1df54 100644 --- a/drivers/misc/sgi-xp/xpc_partition.c +++ b/drivers/misc/sgi-xp/xpc_partition.c @@ -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; |