summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-11-20 12:40:38 -0600
committerSam Ravnborg <sam@ravnborg.org>2020-11-22 22:58:55 +0100
commit04295bc3362d4e4259cc48128c89657735768fbc (patch)
tree9a4f2fb812554ecd248c51c74e3e36d0e54079bd /drivers/video
parent2c3a1e49696fd05b52ec5eeb7c006ac32724c915 (diff)
downloadlinux-04295bc3362d4e4259cc48128c89657735768fbc.tar.gz
linux-04295bc3362d4e4259cc48128c89657735768fbc.tar.bz2
linux-04295bc3362d4e4259cc48128c89657735768fbc.zip
video: fbdev: pm2fb: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a fallthrough pseudo-keyword. 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/0eedb3972a0032da4997a2a47cf0665fbe9c56ca.1605896060.git.gustavoars@kernel.org
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/pm2fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/pm2fb.c b/drivers/video/fbdev/pm2fb.c
index 0642555289e0..27893fa139b0 100644
--- a/drivers/video/fbdev/pm2fb.c
+++ b/drivers/video/fbdev/pm2fb.c
@@ -239,6 +239,7 @@ static u32 to3264(u32 timing, int bpp, int is64)
fallthrough;
case 16:
timing >>= 1;
+ fallthrough;
case 32:
break;
}