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

video: fbdev: lxfb_ops: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/9c1dcb12aae7c7ff0907ffb99ffd227656cbe444.1605896060.git.gustavoars@kernel.org

authored by

Gustavo A. R. Silva and committed by
Sam Ravnborg
2c3a1e49 0b08d08d

+1
+1
drivers/video/fbdev/geode/lxfb_ops.c
··· 682 682 case DC_DV_CTL: 683 683 /* set all ram to dirty */ 684 684 write_dc(par, i, par->dc[i] | DC_DV_CTL_CLEAR_DV_RAM); 685 + break; 685 686 686 687 case DC_RSVD_1: 687 688 case DC_RSVD_2: