Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;