Skip to content

Commit

Permalink
sys: 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/20200814085718.40326-1-linmiaohe@huawei.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
MiaoheLin authored and Christian Brauner committed Aug 19, 2020
1 parent 76df441 commit bda4c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bda4c60

Please sign in to comment.