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

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

usb: storage: sddr55: mark expected switch fall-through



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

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f4d31f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -604,6 +604,7 @@ static unsigned long sddr55_get_capacity(struct us_data *us) {
	case 0x64:
		info->pageshift = 8;
		info->smallpageshift = 1;
		/* fall through */
	case 0x5d: // 5d is a ROM card with pagesize 512.
		return 0x00200000;