summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 13:13:40 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 13:58:29 -0500
commitc8698340e0e5897c30811f8e7e86bcebe53e0519 (patch)
tree0f42dfbbae12af1f0818b48b2ec1e689f4bf80ab /drivers/video
parentf336a009f8e3dd0b47168565584608a4a62cbbb4 (diff)
downloadlinux-c8698340e0e5897c30811f8e7e86bcebe53e0519.tar.gz
linux-c8698340e0e5897c30811f8e7e86bcebe53e0519.tar.bz2
linux-c8698340e0e5897c30811f8e7e86bcebe53e0519.zip
video: fbdev: Fix fall-through warning for Clang
Fix the following fallthrough warning (arm64-randconfig with Clang): drivers/video/fbdev/xilinxfb.c:244:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/xilinxfb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/xilinxfb.c b/drivers/video/fbdev/xilinxfb.c
index ffbf900648d9..438e2c78142f 100644
--- a/drivers/video/fbdev/xilinxfb.c
+++ b/drivers/video/fbdev/xilinxfb.c
@@ -241,6 +241,8 @@ xilinx_fb_blank(int blank_mode, struct fb_info *fbi)
case FB_BLANK_POWERDOWN:
/* turn off panel */
xilinx_fb_out32(drvdata, REG_CTRL, 0);
+ break;
+
default:
break;
}