Skip to content

Commit 810180f

Browse files
GustavoARSilvabzolnier
authored andcommitted
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 <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
1 parent b6566b4 commit 810180f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/core/fbmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,7 @@ static long fb_compat_ioctl(struct file *file, unsigned int cmd,
13471347
case FBIOGET_CON2FBMAP:
13481348
case FBIOPUT_CON2FBMAP:
13491349
arg = (unsigned long) compat_ptr(arg);
1350+
/* fall through */
13501351
case FBIOBLANK:
13511352
ret = do_fb_ioctl(info, cmd, arg);
13521353
break;

0 commit comments

Comments
 (0)