]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
fbdev: fbmem: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 24 Jul 2018 17:11:27 +0000 (19:11 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 24 Jul 2018 17:11:27 +0000 (19:11 +0200)
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>
drivers/video/fbdev/core/fbmem.c

index 645c6ac932d669648db290fa0ae718657608adfb..c61eecfbe771ae01c743d7dda67733efa83d2dce 100644 (file)
@@ -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;