Skip to content

Commit

Permalink
video: fbdev: arcfb: mark expected switch fall-through
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gustavo A. R. Silva authored and Bartlomiej Zolnierkiewicz committed Oct 8, 2018
1 parent b19f682 commit 9703759
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/fbdev/arcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ static int arcfb_ioctl(struct fb_info *info,
schedule();
finish_wait(&arcfb_waitq, &wait);
}
/* fall through */

case FBIO_GETCONTROL2:
{
unsigned char ctl2;
Expand Down

0 comments on commit 9703759

Please sign in to comment.