Skip to content

Commit

Permalink
hugetlb_cgroup: convert comma to semicolon
Browse files Browse the repository at this point in the history
Replace a comma between expression statements by a semicolon.

Fixes: faced7e ("mm: hugetlb controller for cgroups v2")
Signed-off-by: Xu Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Giuseppe Scrivano <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ISCAS-Vulab authored and torvalds committed Aug 21, 2020
1 parent 00c54a8 commit d5a1695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/hugetlb_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events", buf);
cft->private = MEMFILE_PRIVATE(idx, 0);
cft->seq_show = hugetlb_events_show;
cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]),
cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]);
cft->flags = CFTYPE_NOT_ON_ROOT;

/* Add the events.local file */
Expand All @@ -664,7 +664,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
cft->private = MEMFILE_PRIVATE(idx, 0);
cft->seq_show = hugetlb_events_local_show;
cft->file_offset = offsetof(struct hugetlb_cgroup,
events_local_file[idx]),
events_local_file[idx]);
cft->flags = CFTYPE_NOT_ON_ROOT;

/* NULL terminate the last cft */
Expand Down

0 comments on commit d5a1695

Please sign in to comment.