Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo A. R. Silva and committed by
Bartlomiej Zolnierkiewicz
97037597 b19f682e

+2
+2
drivers/video/fbdev/arcfb.c
··· 419 419 schedule(); 420 420 finish_wait(&arcfb_waitq, &wait); 421 421 } 422 + /* fall through */ 423 + 422 424 case FBIO_GETCONTROL2: 423 425 { 424 426 unsigned char ctl2;