From 43bfd514cd84b0b3566a511fe724df351ef6f1bb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Jul 2021 09:24:20 +0100 Subject: [PATCH] SQUASH: fbmem: Use fallthrough keyword Avoid a compiler warning by using the "fallthrough" pseudo-keyword in place of the old "/* fall through */" comment convention. Signed-off-by: Phil Elwell --- drivers/video/fbdev/core/fbmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c index 79ff713456d8..6b22ab56220d 100644 --- a/drivers/video/fbdev/core/fbmem.c +++ b/drivers/video/fbdev/core/fbmem.c @@ -1201,7 +1201,7 @@ static long do_fb_ioctl(struct fb_info *info, unsigned int cmd, ret = fb_copyarea_user(info, ©); break; } - /* fall through */ + fallthrough; default: lock_fb_info(info); fb = info->fbops;