signal: Convert to the new fallthrough notation
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 14 Aug 2020 08:39:32 +0000 (04:39 -0400)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 19 Aug 2020 12:24:21 +0000 (14:24 +0200)
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>
kernel/signal.c

index 42b67d2..a38b3ed 100644 (file)
@@ -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;
                }