diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-24 19:11:28 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 19:11:28 +0200 |
commit | 12382ad98ca06afb7ce4dce53aebf115b5f6b948 (patch) | |
tree | 7a59eefa46342ba96dc9782f2fd684cddd756734 /drivers/video/fbdev/pm2fb.c | |
parent | 2968b5265f00c14fbb44daa2721cf07ff7a917d9 (diff) | |
download | linux-stable-12382ad98ca06afb7ce4dce53aebf115b5f6b948.tar.gz linux-stable-12382ad98ca06afb7ce4dce53aebf115b5f6b948.tar.bz2 linux-stable-12382ad98ca06afb7ce4dce53aebf115b5f6b948.zip |
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>
Diffstat (limited to 'drivers/video/fbdev/pm2fb.c')
-rw-r--r-- | drivers/video/fbdev/pm2fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/pm2fb.c b/drivers/video/fbdev/pm2fb.c index bd6c2f5f6095..1dcf02e12af4 100644 --- a/drivers/video/fbdev/pm2fb.c +++ b/drivers/video/fbdev/pm2fb.c @@ -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: |