Skip to content

Commit

Permalink
signal: Convert to the new fallthrough notation
Browse files Browse the repository at this point in the history
Switch from using the /* fall through */ comment style notation to the new,
preferred notation as outlined in our docs.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
[christian.brauner@ubuntu.com: rewrite commit message]
Link: https://lore.kernel.org/r/20200814083932.4975-1-linmiaohe@huawei.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Miaohe Lin authored and Christian Brauner committed Aug 19, 2020
1 parent 28c41ef commit 76df441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ static int check_kill_permission(int sig, struct kernel_siginfo *info,
*/
if (!sid || sid == task_session(current))
break;
/* fall through */
fallthrough;
default:
return -EPERM;
}
Expand Down

0 comments on commit 76df441

Please sign in to comment.