diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-24 20:11:28 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 20:11:28 +0300 |
commit | 12382ad98ca06afb7ce4dce53aebf115b5f6b948 (patch) | |
tree | 7a59eefa46342ba96dc9782f2fd684cddd756734 /drivers/video/fbdev/i740fb.c | |
parent | 2968b5265f00c14fbb44daa2721cf07ff7a917d9 (diff) | |
download | linux-12382ad98ca06afb7ce4dce53aebf115b5f6b948.tar.xz |
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/i740fb.c')
-rw-r--r-- | drivers/video/fbdev/i740fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/i740fb.c b/drivers/video/fbdev/i740fb.c index 7bc5f6056c77..f6d7b04d6dff 100644 --- a/drivers/video/fbdev/i740fb.c +++ b/drivers/video/fbdev/i740fb.c @@ -429,6 +429,7 @@ static int i740fb_decode_var(const struct fb_var_screeninfo *var, break; case 9 ... 15: bpp = 15; + /* fall through */ case 16: if ((1000000 / var->pixclock) > DACSPEED16) { dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 15/16bpp)\n", |