提交 c2300cd6 编写于 作者: G Gustavo A. R. Silva 提交者: Greg Kroah-Hartman

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: NGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1f4d31f9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册