未验证 提交 bda4c60d 编写于 作者: M Miaohe Lin 提交者: Christian Brauner

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: NMiaohe Lin <linmiaohe@huawei.com>
Acked-by: NChristian Brauner <christian.brauner@ubuntu.com>
[christian.brauner@ubuntu.com: rewrite commit message]
Link: https://lore.kernel.org/r/20200814085718.40326-1-linmiaohe@huawei.comSigned-off-by: NChristian Brauner <christian.brauner@ubuntu.com>
上级 76df441a
...@@ -1753,7 +1753,7 @@ void getrusage(struct task_struct *p, int who, struct rusage *r) ...@@ -1753,7 +1753,7 @@ void getrusage(struct task_struct *p, int who, struct rusage *r)
if (who == RUSAGE_CHILDREN) if (who == RUSAGE_CHILDREN)
break; break;
/* fall through */ fallthrough;
case RUSAGE_SELF: case RUSAGE_SELF:
thread_group_cputime_adjusted(p, &tgutime, &tgstime); thread_group_cputime_adjusted(p, &tgutime, &tgstime);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册