mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 00:51:51 -04:00
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>
This commit is contained in:
committed by
Bartlomiej Zolnierkiewicz
parent
b19f682e4a
commit
97037597d6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user