summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-24 20:11:27 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-24 20:11:27 +0300
commit810180fc8e63f75e8bdaba42057781a50925aa06 (patch)
treecbab35b25b1affecda2e65f4d0c3c3534f736ef0 /drivers/video
parentb6566b47a67e07fdca44cf51abb14e2fbe17d3eb (diff)
downloadlinux-810180fc8e63f75e8bdaba42057781a50925aa06.tar.xz
fbdev: fbmem: mark expected switch fall-through
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> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/core/fbmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c
index 645c6ac932d6..c61eecfbe771 100644
--- a/drivers/video/fbdev/core/fbmem.c
+++ b/drivers/video/fbdev/core/fbmem.c
@@ -1347,6 +1347,7 @@ static long fb_compat_ioctl(struct file *file, unsigned int cmd,
case FBIOGET_CON2FBMAP:
case FBIOPUT_CON2FBMAP:
arg = (unsigned long) compat_ptr(arg);
+ /* fall through */
case FBIOBLANK:
ret = do_fb_ioctl(info, cmd, arg);
break;