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:

committed by
Bartlomiej Zolnierkiewicz

parent
2968b5265f
commit
12382ad98c
@@ -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:
|
||||
|
Reference in New Issue
Block a user