Skip to content

Commit 9703759

Browse files
GustavoARSilvabzolnier
authored andcommitted
video: fbdev: arcfb: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115017 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Cc: Jaya Kumar <jayalk@intworks.biz> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
1 parent b19f682 commit 9703759

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/fbdev/arcfb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ static int arcfb_ioctl(struct fb_info *info,
419419
schedule();
420420
finish_wait(&arcfb_waitq, &wait);
421421
}
422+
/* fall through */
423+
422424
case FBIO_GETCONTROL2:
423425
{
424426
unsigned char ctl2;

0 commit comments

Comments
 (0)