mirror of https://gitee.com/openkylin/linux.git
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:
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;
|
||||
|
|
Loading…
Reference in New Issue