From: Gustavo A. R. Silva Date: Tue, 24 Jul 2018 17:11:27 +0000 (+0200) Subject: fbdev: fbmem: mark expected switch fall-through X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=810180fc8e63f75e8bdaba42057781a50925aa06;p=linux.git 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 Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c index 645c6ac932d66..c61eecfbe771a 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;