From: Gustavo A. R. Silva Date: Thu, 9 Nov 2017 17:09:32 +0000 (+0100) Subject: video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt X-Git-Tag: v4.15-rc1~33^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ed28d318ac4b4a835892f69135701757e5aeab;p=thirdparty%2Flinux.git video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 49233c1926620..8d4fdb3732997 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c @@ -1008,6 +1008,7 @@ static int sm501fb_blank_crt(int blank_mode, struct fb_info *info) case FB_BLANK_POWERDOWN: ctrl &= ~SM501_DC_CRT_CONTROL_ENABLE; sm501_misc_control(fbi->dev->parent, SM501_MISC_DAC_POWER, 0); + /* fall through */ case FB_BLANK_NORMAL: ctrl |= SM501_DC_CRT_CONTROL_BLANK;