summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-13 15:21:17 +0300
committerIngo Molnar <mingo@kernel.org>2020-08-13 22:02:12 +0300
commit405fa8ac89e7aaa87282df659e525992f2639e76 (patch)
treec103331b7cd5e6c4370aaa1c2c087def577aad10 /kernel
parentcb75c95c5262328bd4da3dd334f6826a3a34a979 (diff)
downloadlinux-405fa8ac89e7aaa87282df659e525992f2639e76.tar.xz
futex: Convert to use the preferred 'fallthrough' macro
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200813122117.51173-1-linmiaohe@huawei.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/futex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index 61e8153e6c76..a5876694a60e 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -3744,12 +3744,12 @@ long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
switch (cmd) {
case FUTEX_WAIT:
val3 = FUTEX_BITSET_MATCH_ANY;
- /* fall through */
+ fallthrough;
case FUTEX_WAIT_BITSET:
return futex_wait(uaddr, flags, val, timeout, val3);
case FUTEX_WAKE:
val3 = FUTEX_BITSET_MATCH_ANY;
- /* fall through */
+ fallthrough;
case FUTEX_WAKE_BITSET:
return futex_wake(uaddr, flags, val, val3);
case FUTEX_REQUEUE: