diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-14 04:57:18 -0400 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2020-08-19 14:24:47 +0200 |
commit | bda4c60d02e9ceeee726f73250b808fad0663dd6 (patch) | |
tree | 2a4014f448db1abf44da7261f69b81c14d77898c | |
parent | 76df441ade97556816e8fc522ae4c3b50a255fb4 (diff) |
sys: 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 <linmiaohe@huawei.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
[christian.brauner@ubuntu.com: rewrite commit message]
Link: https://lore.kernel.org/r/20200814085718.40326-1-linmiaohe@huawei.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index ca11af9d815d..ab6c409b1159 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -1753,7 +1753,7 @@ void getrusage(struct task_struct *p, int who, struct rusage *r) if (who == RUSAGE_CHILDREN) break; - /* fall through */ + fallthrough; case RUSAGE_SELF: thread_group_cputime_adjusted(p, &tgutime, &tgstime); |