From: Miaohe Lin Date: Fri, 14 Aug 2020 08:39:32 +0000 (-0400) Subject: signal: Convert to the new fallthrough notation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=76df441ade97556816e8fc522ae4c3b50a255fb4;p=linux.git signal: Convert to the new fallthrough notation Switch from using the /* fall through */ comment style notation to the new, preferred notation as outlined in our docs. Signed-off-by: Miaohe Lin Acked-by: Christian Brauner [christian.brauner@ubuntu.com: rewrite commit message] Link: https://lore.kernel.org/r/20200814083932.4975-1-linmiaohe@huawei.com Signed-off-by: Christian Brauner --- diff --git a/kernel/signal.c b/kernel/signal.c index 42b67d2cea370..a38b3edc68511 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -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; }