Skip to content

Commit a9ce323

Browse files
committed
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull licking update from Thomas Gleixner: "Mark the switch cases which fall through to the next case with the proper comment so the fallthrough compiler checks can be enabled" * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: futex: Mark expected switch fall-throughs
2 parents 2923b27 + b639186 commit a9ce323

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/futex.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,10 +3523,12 @@ long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
35233523
switch (cmd) {
35243524
case FUTEX_WAIT:
35253525
val3 = FUTEX_BITSET_MATCH_ANY;
3526+
/* fall through */
35263527
case FUTEX_WAIT_BITSET:
35273528
return futex_wait(uaddr, flags, val, timeout, val3);
35283529
case FUTEX_WAKE:
35293530
val3 = FUTEX_BITSET_MATCH_ANY;
3531+
/* fall through */
35303532
case FUTEX_WAKE_BITSET:
35313533
return futex_wake(uaddr, flags, val, val3);
35323534
case FUTEX_REQUEUE:

0 commit comments

Comments
 (0)