]> git.baikalelectronics.ru Git - kernel.git/commit
drm: drm_vm: Use fallthrough;
authorJoe Perches <joe@perches.com>
Thu, 12 Mar 2020 19:17:12 +0000 (12:17 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Mar 2020 13:48:34 +0000 (14:48 +0100)
commite29c05605e470d29aa5c48d1cbba2db7fa61ce0f
treeda0c8a0829fd0d4cba48786b1889bfcbef751fb3
parent20dec338127b91eb09bf738f20aa2b41c869c000
drm: drm_vm: Use fallthrough;

Convert /* fallthrough */ style comments to fallthrough;

Convert the various uses of fallthrough comments to fallthrough;

Done via script
Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe@perches.com/
And by hand:

This file has a fallthrough comment outside of an #ifdef block
that causes gcc to emit a warning if converted in-place.

So move the new fallthrough; inside the containing #ifdef/#endif too.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/398db73cdc8a584fd7f34f5013c04df13ba90f64.1584040050.git.joe@perches.com
drivers/gpu/drm/drm_vm.c