mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
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 <phil@raspberrypi.com>
This commit is contained in:
@@ -1201,7 +1201,7 @@ static long do_fb_ioctl(struct fb_info *info, unsigned int cmd,
|
|||||||
ret = fb_copyarea_user(info, ©);
|
ret = fb_copyarea_user(info, ©);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* fall through */
|
fallthrough;
|
||||||
default:
|
default:
|
||||||
lock_fb_info(info);
|
lock_fb_info(info);
|
||||||
fb = info->fbops;
|
fb = info->fbops;
|
||||||
|
|||||||
Reference in New Issue
Block a user