summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 20:13:40 +0200
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 20:58:29 +0200
commitc8698340e0e5897c30811f8e7e86bcebe53e0519 (patch)
tree0f42dfbbae12af1f0818b48b2ec1e689f4bf80ab /drivers
parentmath-emu: Fix fall-through warning (diff)
downloadlinux-c8698340e0e5897c30811f8e7e86bcebe53e0519.tar.xz
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')
-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;
}