video: fbdev: 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>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
This commit is contained in:
Gustavo A. R. Silva
2018-07-24 19:11:28 +02:00
committed by Bartlomiej Zolnierkiewicz
parent 2968b5265f
commit 12382ad98c
4 changed files with 5 additions and 0 deletions

View File

@@ -233,8 +233,10 @@ static u32 to3264(u32 timing, int bpp, int is64)
switch (bpp) {
case 24:
timing *= 3;
/* fall through */
case 8:
timing >>= 1;
/* fall through */
case 16:
timing >>= 1;
case 32: